Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
简体中文
docs.sun.com 主页
>
Solaris 2.5 Software Developer AnswerBook
> ToolTalk User's Guide
ToolTalk User's Guide
只搜寻这本书
搜索帮助
包含在
Solaris 2.5 Software Developer AnswerBook
Solaris 2.4 Software Developer AnswerBook
查找更多文档
浏览文档标题
浏览产品文档
专项支持资源
Sun 培训课程
BigAdmin 系统管理门户
Sun 支持中心
Sun Solve
以 PDF 格式下载本书 (432 KB)
ToolTalk User's Guide
Cover
Credits
Table of Contents
Figures
Tables
Preface
1 Introducing the ToolTalk Service
1.1 ToolTalk Scenarios
1.2 How Applications Use ToolTalk Messages
1.3 ToolTalk Message Distribution
1.4 Modifying Applications to Use the ToolTalk Service
2 An Overview of the ToolTalk Service
2.1 ToolTalk Architecture
2.2 Starting a ToolTalk Session
2.3 Maintaining ToolTalk Files and Databases
2.4 Demonstration Programs
3 Message Patterns
3.1 Message Pattern Attributes
3.2 Scope Attributes
3.3 Context Attributes
3.4 Disposition Attributes
4 Setting Up and Maintaining the ToolTalk Processes
4.1 Location of the ToolTalk Service Files
4.2 Version
4.3 Requirements
4.4 Environment Variables
4.5 Installing the ToolTalk Database Server
4.6 Running the New ToolTalk Database Server
4.7 Redirecting the ToolTalk Database Server
5 Maintaining Application Information
5.1 Installing Application Types
5.2 Examining ToolTalk Type Information
5.3 Removing ToolTalk Type Information
5.4 Updating the ToolTalk Service
5.5 Process Type Errors
5.6 Using ttsnoop to Debug Messages and Patterns
6 Maintaining Files and Objects Referenced in ToolTalk Messages
6.1 ToolTalk-Enhanced Shell Commands
6.2 Maintaining and Updating ToolTalk Databases
6.3 Displaying, Checking, and Repairing Databases
7 Participating in ToolTalk Sessions
7.1 Including the ToolTalk API Header File
7.2 Registering with the ToolTalk Service
7.3 Setting Up to Receive Messages
7.4 Sending and Receiving Messages in the Same Process
7.5 Sending and Receiving Messages in a Networked Environment
7.6 Unregistering from the ToolTalk Service
8 Sending Messages
8.1 How the ToolTalk Service Routes Messages
8.2 Message Attributes
8.3 ToolTalk Message Delivery Algorithm
8.4 Modifying Applications to Send ToolTalk Messages
8.5 Examples
9 Dynamic Message Patterns
9.1 Defining Dynamic Messages
9.2 Updating Message Patterns with the Current Session or File
10 Static Message Patterns
10.1 Defining Static Messages
10.2 Defining Process Types
10.3 Defining Object Types
10.4 Installing Type Information
10.5 Checking for Existing Process Types
10.6 Declaring Process Type
10.7 Undeclaring Process Types
11 Receiving Messages
11.1 Retrieving Messages
11.2 Checking Message Status
11.3 Examining Messages
11.4 Callback Routines
11.5 Handling Requests
11.6 Destroying Messages
12 Objects
12.1 Object-Oriented Messaging
12.2 Creating Object Specs
12.3 Writing Object Specs
12.4 Updating Object Specs
12.5 Maintaining Object Specs
12.6 Destroying Object Specs
12.7 Managing Object and File Information
12.8 An Example of Object-Oriented Messaging
13 Managing Information Storage
13.1 Information Provided to the ToolTalk Service
13.2 Information Provided by the ToolTalk Service
13.3 Calls Provided to Manage the Storage of Information
13.4 Special Case: Callback and Filter Routines
14 Handling Errors
14.1 Retrieving ToolTalk Error Status
14.2 Checking ToolTalk Error Status
14.3 Returned Value Status
14.4 Returned Pointer Status
14.5 Returned Integer Status
14.6 Broken Connections
14.7 Error Propagation
A Migrating from the Classing Engine Database to the ToolTalk Types Database
A.1 The ttce2xdr Script
A.2 Converting the User Database
A.3 Converting the System Database
A.4 Converting the Network Database
B A Simple Demonstration of How the ToolTalk Service Works
B.1 Inter-Application Communication Made Easy
B.2 Adding Inter-Operability Functionality
B.3 We Have Tool Communication!
B.4 Adding ToolTalk Code to the Demonstration Applications
C The ToolTalk Standard Message Sets
C.1 The ToolTalk Desktop Services Message Set
C.2 The ToolTalk Document and Media Exchange Message Set
C.3 General ToolTalk Message Definitions and Conventions
C.4 Errors
C.5 General ToolTalk Development Guidelines and Conventions
C.6 Developing ToolTalk Applications
C.7 Messaging Alliances
D Frequently Asked Questions
Glossary
Index
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.