JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
ToolTalk User's Guide
search filter icon
search icon

Document Information

Preface

1.  Introducing the ToolTalk Service

2.  An Overview of the ToolTalk Service

3.  Message Patterns

Message Pattern Attributes

Scope Attributes

Scoping to a Session Only

Scoping to a File Only

Scoping to a File in a Session

Scoping to a File and/or a Session

Adding Files to Scoped Patterns

Context Attributes

Pattern Argument Attributes

Disposition Attributes

4.  Setting Up and Maintaining the ToolTalk Processes

5.  Maintaining Application Information

6.  Maintaining Files and Objects Referenced in ToolTalk Messages

7.  Participating in ToolTalk Sessions

8.  Sending Messages

9.  Dynamic Message Patterns

10.  Static Message Patterns

11.  Receiving Messages

12.  Objects

13.  Managing Information Storage

14.  Handling Errors

A.  Migrating from the Classing Engine to the ToolTalk Types Database

B.  A Simple Demonstration of How the ToolTalk Service Works

C.  The ToolTalk Standard Message Sets

D.  Frequently Asked Questions

Glossary

Index

Message Pattern Attributes

The attributes in your message pattern specify the type of messages you want to receive. Although some attributes are set and have only one value, you can supply multiple values for most of the attributes you add to a pattern.

provides a complete list of attributes you can put in your message patterns.

Table 3-1 ToolTalk Message Pattern Attributes

Pattern Attribute
Value
Description
Category
TT_OBSERVE TT_HANDLE TT_HANDLE_PUSH TT_HANDLE_ROTATE
Declares whether you want to perform the operation listed in a message or only observe a message.
Scope
TT_SESSION TT_FILE TT_FILE_IN_SESSION TT_BOTH
Declares interest in messages about a session or a file, or both; Join a session or file after the message pattern is registered to update the sessid and filename.
Arguments
arguments or results
Declares the positional arguments for the operation in which you are interested.
Context
<name, value>
Declares the keyword or non-positional arguments for the operation in which you are interested
Class
TT_NOTICE TT_REQUEST TT_OFFER
Declares whether you want to receive notices, requests, offers, or all.
File
char *pathname
Declares the files in which you are interested. If the scope of the pattern does not require a file, the file is an attribute only.
Object
char *objid
Declares what objects in which you are interested.
Operation
char *opname
Declares the operations in which you are interested.
Otype
char *otype
Declares the type of objects in which you are interested.
address
TT_PROCEDURE TT_OBJECT TT_HANDLER TT_OTYPE
Declares the type of address in which you are interested.
disposition
TT_DISCARD TT_QUEUE TT_START TT_START+TT_QUEUE
Instructs the ToolTalk service how to handle messages to your application if an instance is not currently running.
sender
char *procid
Declares the sender in which you are interested.
sender_ptype
char *ptype
Declares the type of sending process in which you are interested.
session
char *sessid
Declares the session in which you are interested.
state
TT_CREATED TT_SENT TT_HANDLED TT_FAILED TT_QUEUED TT_STARTED TT_REJECTED TT_RETURNED TT_ACCEPTED TT_ABSTAINED
Declares the state of the message in which you are interested.

All your message patterns must at least specify:

The ToolTalk service compares message attributes to pattern attributes as follows: