SmartSockets .NET Class Library

TipcConnClient.addQueueCb Method

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.

Overload List

Adds a queue callback class for message type with default priority. The queue callback is called when 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. 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 addQueueCb(TipcQueueCb,TipcMt,object);

Adds a queue callback class for message type with default priority. The queue callback is called when 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,int,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,int,short,object);

Adds a queue callback class for message type with given priority. The queue callback is called when 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. 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 addQueueCb(TipcQueueCb,TipcMt,short,object);

See Also

TipcConnClient Class | TipcConnClient Members | TIBCO.SMARTSOCKETS Namespace | TipcQueueCb


Copyright © TIBCO Software Inc. All rights reserved