SmartSockets .NET Class Library

TipcConnClient.addProcessCb Method (TipcProcessCb, Int32, Int16, Object)

Adds a process callback class with given priority for a message type number. The process callback is called when process is called with a message matching the provided message type.

public virtual TipcCb addProcessCb(
   TipcProcessCb 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.

Exceptions

Exception TypeCondition
TipcBadArgumentException If mtNum is not a valid message type.

See Also

TipcConnClient Class | TipcConnClient Members | TIBCO.SMARTSOCKETS Namespace | TipcConnClient.addProcessCb Overload List | TipcProcessCb


Copyright © TIBCO Software Inc. All rights reserved