Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
English
docs.sun.com Home
>
Solaris 10 Software Developer Collection
> ToolTalk User's Guide
ToolTalk User's Guide
Search only this book
Search Help
View this book in:
Other Languages
日本語
Contained Within
Solaris 10 Software Developer Collection
Solaris 9 9/04 Software Developer Collection
Solaris 9 4/04 Software Developer Collection
Solaris 9 12/03 Software Developer Collection
Solaris 9 8/03 Software Developer Collection
Solaris 9 4/03 Software Developer Collection
Solaris 9 12/02 Software Developer Collection
Solaris 9 Software Developer Collection
Solaris 9 Software Developer Collection
Find More Documentation
Browse Documentation Titles
Browse Product Documentation
Featured Support Resources
Sun Training Courses
BigAdmin System Admininstration Portal
Sun Support Center
Sun Solve
Download this book in PDF (911 KB)
ToolTalk User's Guide
Index
Numbers and Symbols
A
B
C
D
E
F
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Book Information
Preface
Who Should Use this Book
How This Manual Is Organized
Related Documentation
Accessing Sun Documentation Online
Typographic Conventions
Shell Prompts in Command Examples
1. Introducing the ToolTalk Service
Overview
ToolTalk Scenarios
How Applications Use ToolTalk Messages
ToolTalk Message Distribution
Modifying Applications to Use the ToolTalk Service
2. An Overview of the ToolTalk Service
ToolTalk Architecture
Starting a ToolTalk Session
Maintaining ToolTalk Files and Databases
Demonstration Programs
3. Message Patterns
Message Pattern Attributes
Scope Attributes
Context Attributes
Pattern Argument Attributes
Disposition Attributes
4. Setting Up and Maintaining the ToolTalk Processes
Location of the ToolTalk Service Files
Version
Requirements
Environment Variables
Installing the ToolTalk Database Server
Running the New ToolTalk Database Server
Redirecting the ToolTalk Database Server
5. Maintaining Application Information
Installing Application Types
Examining ToolTalk Type Information
Removing ToolTalk Type Information
Updating the ToolTalk Service
To send the ttsession process a SIGUSR2:
Process Type Errors
Using ttsnoop to Debug Messages and Patterns
6. Maintaining Files and Objects Referenced in ToolTalk Messages
ToolTalk-Enhanced Shell Commands
Maintaining and Updating ToolTalk Databases
Displaying, Checking, and Repairing Databases
7. Participating in ToolTalk Sessions
Including the ToolTalk API Header File
Registering with the ToolTalk Service
Registering in the Initial Session
Setting Up to Receive Messages
Sending and Receiving Messages in the Same Process
Sending and Receiving Messages in a Networked Environment
Unregistering from the ToolTalk Service
Using ToolTalk in a Multi-Threaded Environment
8. Sending Messages
How the ToolTalk Service Routes Messages
Message Attributes
ToolTalk Message Delivery Algorithm
Modifying Applications to Send ToolTalk Messages
Examples
9. Dynamic Message Patterns
Defining Dynamic Messages
Updating Message Patterns with the Current Session or File
10. Static Message Patterns
Defining Static Messages
Defining Process Types
Defining Object Types
Installing Type Information
Checking for Existing Process Types
Declaring Process Type
Undeclaring Process Types
11. Receiving Messages
Retrieving Messages
Checking Message Status
Examining Messages
Callback Routines
Handling Requests
Observing Offers
Destroying Messages
12. Objects
Object-Oriented Messaging
Creating Object Specs
Writing Object Specs
Updating Object Specs
Maintaining Object Specs
Destroying Object Specs
Managing Object and File Information
An Example of Object-Oriented Messaging
13. Managing Information Storage
Information Provided to the ToolTalk Service
Information Provided by the ToolTalk Service
Calls Provided to Manage the Storage of Information
Special Case: Callback and Filter Routines
14. Handling Errors
Retrieving ToolTalk Error Status
Checking ToolTalk Error Status
Returned Value Status
Returned Pointer Status
Returned Integer Status
Broken Connections
Error Propagation
A. Migrating from the Classing Engine to the ToolTalk Types Database
The ttce2xdr Script
Converting the User Database
Converting the System Database
Converting the Network Database
B. A Simple Demonstration of How the ToolTalk Service Works
Inter-Application Communication Made Easy
Adding Inter-Operability Functionality
We Have Tool Communication!
Adding ToolTalk Code to the Demonstration Applications
C. The ToolTalk Standard Message Sets
The ToolTalk Desktop Services Message Set
The ToolTalk Document and Media Exchange Message Set
General ToolTalk Message Definitions and Conventions
Errors
General ToolTalk Development Guidelines and Conventions
Developing ToolTalk Applications
Messaging Alliances
D. Frequently Asked Questions
Questions
Glossary
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.