SmartSockets .NET Class Library

TipcConnClient.addReadCb Method (TipcReadCb, Int32, Object)

Adds a read callback class for message type with default priority. The read callback is called when a message is read. It is called before the message is returned by the next method.

public virtual TipcCb addReadCb(
   TipcReadCb l,
   int mtNum,
   object arg
);

Parameters

l
The class to add
mtNum
The number of the message type this callback is interested in. If this is 0, the read callback will be called for messages of any type.
arg
argument to pass to callback

Return Value

An opaque TipcCb object, used to remove the callback later.

See Also

TipcConnClient Class | TipcConnClient Members | TIBCO.SMARTSOCKETS Namespace | TipcConnClient.addReadCb Overload List | TipcReadCb


Copyright © TIBCO Software Inc. All rights reserved