Defining a class to receive messages

You need to define a class to receive messages issued by other caucus members. How you define this class depends on your implementation and the communications protocol you choose to use.

The constructor of a receive class can block until a message is available (this is how the standard implementation functions) or it can block when streaming out data. If you want to use a notification system, you can define this class to notify the client when a message is coming in, avoiding the need for a continuous receive message loop.


[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