| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private static final Logger | |
| private final RemoteMessageHandler | |
| private final ServerSocket | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| private void | |
| private boolean | isHealthCheck(BufferedInputStream input)
Probing must not consume anything on a non-match: |
| public void |
| BACKLOG | back to summary |
|---|---|
| private static final int BACKLOG | |
| HEALTH_CHECK_PREFIX | back to summary |
|---|---|
| private static final byte[] HEALTH_CHECK_PREFIX | |
| HEALTH_CHECK_REMAINING_PREFIX | back to summary |
|---|---|
| private static final byte[] HEALTH_CHECK_REMAINING_PREFIX | |
| HEALTH_CHECK_REQUEST | back to summary |
|---|---|
| private static final byte[] HEALTH_CHECK_REQUEST | |
| HEALTH_CHECK_RESPONSE | back to summary |
|---|---|
| private static final byte[] HEALTH_CHECK_RESPONSE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| messageHandler | back to summary |
|---|---|
| private final RemoteMessageHandler messageHandler | |
| serverSocket | back to summary |
|---|---|
| private final ServerSocket serverSocket | |
| TIMEOUT | back to summary |
|---|---|
| private static final int TIMEOUT | |
| RemoteListenerServer | back to summary |
|---|---|
| public RemoteListenerServer(RemoteMessageHandler messageHandler, int port) throws IOException | |
| closeServerSocket | back to summary |
|---|---|
| public void closeServerSocket() | |
| handleConnection | back to summary |
|---|---|
| private void handleConnection(Socket socket) throws IOException | |
| handleHealthCheck | back to summary |
|---|---|
| private void handleHealthCheck(InputStream input, OutputStream output) throws IOException | |
| handleMessage | back to summary |
|---|---|
| private void handleMessage(Protocol protocol, RemoteMessage type, Object argument) throws IOException | |
| isHealthCheck | back to summary |
|---|---|
| private boolean isHealthCheck(BufferedInputStream input) throws IOException Probing must not consume anything on a non-match: The full prefix is only read after the first byte matched. A serialized | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |