SmartSockets .NET Class Library

TipcSrv.next Method 

Get messages from the inbound queue. If no messages are waiting in the inbound queue then this method will wait for the specified timeout for a message to arrive.

public override TipcMsg next(
   double timeout
);

Parameters

timeout
length in time (in seconds) to wait for message to arrive.

Return Value

The message read, or null if timeout expires.

Exceptions

Exception TypeCondition
TipcInterruptedException Interrupt is called.
TipcException For all errors.

See Also

TipcSrv Class | TipcSrv Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved