SmartSockets .NET Class Library

TipcConnClient.mainLoop Method 

Loop for the specified timeout, reading and processing messages from the connection. This is a convenience method, which employs a loop doing next, process, and ack. To specify an infinite loop, pass TIMEOUT_FOREVER.

public virtual bool mainLoop(
   double timeout
);

Parameters

timeout
time to wait for traffic to arrive.

Return Value

False when timed out or when unable to make a connection.

Exceptions

Exception TypeCondition
TipcIOException For low-level errors.
TipcException For all other errors.

See Also

TipcConnClient Class | TipcConnClient Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved