Package org.jppf.server.nio.classloader.client
package org.jppf.server.nio.classloader.client
Support for NIO-based communication with the clients, for the class loader channel.
The allowed state transitions for these channels are:
- WAITING_INITIAL_PROVIDER_REQUEST
--> WAITING_INITIAL_PROVIDER_REQUEST
--> SENDING_INITIAL_PROVIDER_RESPONSE
- SENDING_INITIAL_PROVIDER_RESPONSE
--> SENDING_INITIAL_PROVIDER_RESPONSE
--> IDLE_PROVIDER
- SENDING_PROVIDER_REQUEST
--> SENDING_PROVIDER_REQUEST
--> WAITING_PROVIDER_RESPONSE
--> IDLE_PROVIDER
- WAITING_PROVIDER_RESPONSE
--> WAITING_PROVIDER_RESPONSE
--> SENDING_PROVIDER_REQUEST
- IDLE_PROVIDER
--> IDLE_PROVIDER
--> SENDING_PROVIDER_REQUEST (including from node channel)
- SENDING_PEER_CHANNEL_IDENTIFIER
--> SENDING_PEER_CHANNEL_IDENTIFIER
--> SENDING_PEER_INITIATION_REQUEST
- SENDING_PEER_INITIATION_REQUEST
--> SENDING_PEER_INITIATION_REQUEST
--> WAITING_PEER_INITIATION_RESPONSE
- WAITING_PEER_INITIATION_RESPONSE
--> WAITING_PEER_INITIATION_RESPONSE
--> IDLE_PROVIDER
-
ClassesClassDescriptionContext or state information associated with a channel that exchanges heartbeat messages between the server and a node or client.Performs periodic heartbeat echanges with the nodes and handles heartbeat failures detection.Reads from the channel until no more data is available.Writes all messages in the channel's context queue, if any, or keeps writing the current message until the socket send buffer is full.The NIO server that handles asynchronous client connections, which can handle multiple jobs concurrently.