SmartSockets .NET Class Library

TipcConnClient.sendRpc Method 

Send a message and synchronously wait for the result. The expected result message will have a message type with a number one greater than the sent message type. If a message with the expected type is not received before the timeout expires, this method will fail.

public virtual TipcMsg sendRpc(
   TipcMsg msg,
   double timeout
);

Parameters

msg
The message to send
timeout
The amount of time (in seconds) to wait for the result.

Return Value

The result message, or null if the timeout expires.

Exceptions

Exception TypeCondition
TipcIOException For low-level errors.
TipcNotFoundException If the result message type doesn't exist.
TipcException For all other errors.

See Also

TipcConnClient Class | TipcConnClient Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved