IRpcClient

An RPC client working with TRequest and TResponse.

Members

Functions

connect
bool connect()

Try to connect the client.

sendRequestAndWait
TResponse sendRequestAndWait(TRequest request, Duration timeout)

Send a request and wait a response for the specified timeout.

tick
void tick()

Tell to process the input stream once.

Properties

connected
bool connected [@property getter]

Returns true if the client is connected.

Meta