SmartSockets .NET Class Library

TipcConnClient.addReadCb Method

Adds a read callback class 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.

Overload List

Adds a read callback class 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,object);

Adds a read callback class 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,short,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. 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 case, you can use the mt number version instead, and pass a 0 as the mt number.

public virtual TipcCb addReadCb(TipcReadCb,TipcMt,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,int,object);

Adds a read callback class for message type with given 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,int,short,object);

Adds a read callback class for message type with given priority. The read callback is called when a message is read. It is called before the message is returned by the next method. 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 case, you can use the mt number version instead, and pass a 0 as the mt number.

public virtual TipcCb addReadCb(TipcReadCb,TipcMt,short,object);

See Also

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


Copyright © TIBCO Software Inc. All rights reserved