Interface | Description |
---|---|
BoundedReceive<T> |
This is an interface for
Receive to use any kinds of data structure to buffer the
incoming request or response from the network. |
ConnectedChannel |
A channel that is connected to a specific remote host and port.
|
ConnectionPool |
A Connection pool interface that pools a list of connections, does connection management
and connection cleanup.
|
NetworkClient |
A
NetworkClient provides a method for sending a list of requests to one or more destinations,
and receiving responses for sent requests. |
NetworkClientFactory |
A factory class used to get new instances of a
NetworkClient |
NetworkServer |
Basic network server used to accept / send request and responses
|
Receive |
Used to receive data from the network channel.
|
Request |
Simple request
|
RequestResponseChannel |
RequestResponse Channel used by the network layer to queue new requests and
send responses over the network from the channel.
|
Response |
Simple response
|
Selectable |
An interface for asynchronous, multi-channel network I/O
|
Send |
Any data that needs to be sent over the network can implement
this interface
|
SendWithCorrelationId |
Most
Send s include a correlation ID that is used to associate a request/response pair. |
Class | Description |
---|---|
BoundedByteBufferReceive |
A byte buffer version of Receive to buffer the incoming request or response.
|
BoundedByteBufferSend |
A byte buffer version of Send to buffer the outgoing responses before sending.
|
BoundedNettyByteBufReceive |
A netty
ByteBuf version of Receive to buffer the incoming request or response. |
ChannelOutput |
The receive on the connected channel provides a ChannelOutput that
can be used to read the output from.
|
NetworkReceive |
Contains the information about the initial send and the response bytes from the destination
|
NetworkSend |
Contains the destination information and bytes to send
|
Port |
Represents a port containing port number and
PortType |
RequestInfo | |
ResponseInfo |
The response from a
NetworkClient comes in the form of an object of this class. |
ServerNetworkResponseMetrics |
Tracks a set of metrics for a network response by a Server
|
Enum | Description |
---|---|
NetworkClientErrorCode |
Errors that can be received from the NetworkClient.
|
PortType |
Supported port types
|
Exception | Description |
---|---|
ConnectionPoolTimeoutException |
Exception used by the connection pool to indicate that the operation timedout
|