SmartSockets .NET Class Library

TipcConnClient.addQueueCb Method (TipcQueueCb, Int32, Int16, Object)

Adds a queue callback class for message type with given priority. The queue callback is called ever a message is inserted or removed from the connection's queue. The queue callback is called when a message is inserted or removed and message has a callback registered with a message matching the provided message type.

public virtual TipcCb addQueueCb(
   TipcQueueCb l,
   int mtNum,
   short priority,
   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 process callback will be called for messages of any type.
priority
The priority of the callback
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.addQueueCb Overload List | TipcQueueCb


Copyright © TIBCO Software Inc. All rights reserved