TAsyncClientPoolBase

Represents a generic client pool which implements TFutureInterface!Interface using multiple TAsyncClients.

Members

Aliases

Client
alias Client = TAsyncClientBase!Interface

Shorthand for the client type this pool operates on.

Functions

addClient
void addClient(Client client)

Adds a client to the pool.

removeClient
bool removeClient(Client client)

Removes a client from the pool.

reopenTransports
void reopenTransports(bool )
Undocumented in source.
reopenTransports
bool reopenTransports()

Whether to open the underlying transports of a client before trying to execute a method if they are not open. This is usually desirable because it allows e.g. to automatically reconnect to a remote server if the network connection is dropped.

rpcFaultFilter
bool delegate(Exception) rpcFaultFilter()

Called to determine whether an exception comes from a client from the pool not working properly, or if it an exception thrown at the application level.

rpcFaultFilter
void rpcFaultFilter(bool delegate(Exception) )
Undocumented in source.

Meta