Class RPCClient

class RPCClient(API) ;

Constructors

NameDescription
this (host, port, retry_delay, max_retries, ctimeout, rtimeout, wtimeout) Initialize an instance of an RPCClient

Fields

NameTypeDescription
config RPCConfigConfig instance for this client
conn TCPConnectionConnection to the host
log LoggerLogger for this client
lookup Hash[string]Lookup table for the client, mapping an overload to a hash
rlock TaskMutexRead lock on connection
rlookup string[Hash]Reverse lookup tables for the server, mapping a hash to an overload
seq_id uintLocal sequence id
waiting_list RPCClient.Waiting[size_t]List of Fibers waiting for a Response from this Connection
wlock TaskMutexWrite lock on connection

Methods

NameDescription
connect ()
shutdown () Close connection to the peer

Inner classes

NameDescription
Waiting Control structure for Fibers blocked on this connection