SmartSockets .NET Class Library

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

Adds a process callback class with given priority. The process callback is called when process is called with a message matching the provided message type. The message type parameter may be null, which means that all message types will be passed to this method. However, if you use the null form, you must cast the null to TipcMt, or the compiler will be unable to resolve which version of this method you wish: this one, or the version that takes a mt number parameter. To avoid the cast. you can use the mt number version instead, and pass a 0 as the mt number.

public virtual TipcCb addProcessCb(
   TipcProcessCb l,
   TipcMt mt,
   short priority,
   object arg
);

Parameters

l
The class to add
mt
The message type this callback is interested in
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.addProcessCb Overload List | TipcProcessCb


Copyright © TIBCO Software Inc. All rights reserved