| 接口 | 说明 |
|---|---|
| DataConsumer | |
| IncomingMessage | |
| IncomingRequestMessage | |
| IncomingResponseMessage | |
| MessageParser |
Interface defining methods that are called when data arrives in the connection.
|
| MessagingExceptionHandler | |
| OutgoingMessage | |
| OutgoingRequestMessage | |
| OutgoingResponseMessage | |
| RequestHandler | |
| Transport |
A transport is a wrapper around the means by which data is transferred.
|
| WaitingRoomKey |
Waiting room keys are used to match requests with responses.
|
| WaitingRoomKeyFactory |
| 类 | 说明 |
|---|---|
| DefaultMessagingExceptionHandler | |
| EpollStreamTransport |
First, instatiate with the streams and epoll.
|
| EpollStreamTransportCharSpaced | |
| InputStreamListener |
This class provides a stoppable listener for an input stream that sends arbitrary information.
|
| MessageControl |
In general there are three messaging activities:
Send a message for which no reply is expected, e.g. a broadcast.
|
| StreamTransport |
First, instatiate with the streams.
|
| StreamTransportCharSpaced | |
| TestableTransport |
Provides synchronization on the input stream read by wrapping it.
|
| 异常错误 | 说明 |
|---|---|
| TimeoutException | |
| WaitingRoomException |
Copyright © 2018. All rights reserved.