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

4.  Setting Up and Maintaining the ToolTalk Processes

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

Composing and Sending Messages

Composing and Registering Patterns

Displaying Message Components

Sending Pre-Created Messages

Receiving Messages

Stop Receiving Messages

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

Using ttsnoop to Debug Messages and Patterns

ttsnoop is a tool provided to create and send custom-constructed ToolTalk messages. You can also use ttsnoop as a tool to selectively monitor any or all ToolTalk messages. The ttsnoop program resides in the directory /usr/dt/bin/ttsnoop. To start the program, enter the following command on the command line:

% /usr/dt/bin/ttsnoop [ -t ] 

The -t option displays the ToolTalk API calls that are being used to construct a particular pattern or message. shows the window that is displayed when ttsnoop starts.

Figure 5-1 ttsnoop Display Window

Composing and Sending Messages

When you press the Messages button on the initial display window, the popup panel shown in is displayed.

Figure 5-2 Popup Messages Panel

Figure 5-3 Editing Send Contexts

Composing and Registering Patterns

When you press the Patterns button on the initial display window, the popup panel shown in is displayed.

Figure 5-4 Popup Patterns Panel

Press the Apply button to register your pattern. Once a pattern is registered, you can use ttsnoop as a debugging tool to observe what messages are being sent by other applications.

Figure 5-5 Editing Message Contexts in Patterns

Displaying Message Components

When you press the Display button on the initial display window, the popup panel of checkboxes shown in displays.

Figure 5-6 Checkboxes to Display Message Component Values

When you select a checkbox, the specified ToolTalk message component is indicated on a displayed message by an arrow (--->) to the left of the displayed message component. shows the displayed message components.

Figure 5-7 Display of Message Components

Sending Pre-Created Messages

When you press the Send Message button on the initial display window, you can send one the messages you created and stored using the Messages popup.

Receiving Messages

When you press the Start button on the initial display window, ttsnoop will display any incoming messages which match the patterns you registered. is an example of a displayed incoming message.

Figure 5-8 Incoming Message Displayed

Stop Receiving Messages

When you press the Stop button on the initial display window, ttsnoop will stop receiving messages.