






Receiving a
caucus message
When the caucus is up and running, a TCaucusReadThread object runs in a separate thread, awaiting incoming caucus messages. When it receives a message, it calls the appropriate message handler routine. This routine is passed in as an argument when TCaucusReadThread is constructed.
In this example, the handler is a TChatHandler that streams in the message and creates a new Taligent Chat message notification. TChatView which has registered an interest in this notification calls its HandleNewChatMessage routine to display the message in the output pane.

[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker