| Modifier and Type | Field and Description |
|---|---|
| public static final SocketEvent | CONNECT_FAIL
A client attempted to establish a connection but failed. |
| public static final SocketEvent | DISCONNECT
The client has disconnected. |
| public static final SocketEvent | ERROR
An error has occurred on a non-container thread and processing needs to return to the container for any necessary clean-up. |
| public static final SocketEvent | OPEN_READ
Data is available to be read. |
| public static final SocketEvent | OPEN_WRITE
The socket is ready to be written to. |
| public static final SocketEvent | STOP
The associated Connector/Endpoint is stopping and the connection/socket needs to be closed cleanly. |
| public static final SocketEvent | TIMEOUT
A timeout has occurred and the connection needs to be closed cleanly. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SocketEvent | |
| public static SocketEvent[] |
| CONNECT_FAIL | back to summary |
|---|---|
| public static final SocketEvent CONNECT_FAIL A client attempted to establish a connection but failed. Examples of where this is used include:
| |
| DISCONNECT | back to summary |
|---|---|
| public static final SocketEvent DISCONNECT The client has disconnected. | |
| ERROR | back to summary |
|---|---|
| public static final SocketEvent ERROR An error has occurred on a non-container thread and processing needs to return to the container for any necessary clean-up. Examples of where this is used include:
| |
| OPEN_READ | back to summary |
|---|---|
| public static final SocketEvent OPEN_READ Data is available to be read. | |
| OPEN_WRITE | back to summary |
|---|---|
| public static final SocketEvent OPEN_WRITE The socket is ready to be written to. | |
| STOP | back to summary |
|---|---|
| public static final SocketEvent STOP The associated Connector/Endpoint is stopping and the connection/socket needs to be closed cleanly. | |
| TIMEOUT | back to summary |
|---|---|
| public static final SocketEvent TIMEOUT A timeout has occurred and the connection needs to be closed cleanly. Currently this is only used by the Servlet 3.0 async processing. | |
| SocketEvent | back to summary |
|---|---|
| private SocketEvent() | |
| valueOf | back to summary |
|---|---|
| public static SocketEvent valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SocketEvent[] values() | |