Package org.jppf.nio
Class AcceptChannelTask
java.lang.Object
org.jppf.nio.AcceptChannelTask
- All Implemented Interfaces:
Runnable
This task performs the processing of a newly accepted channel.
-
Constructor Summary
ConstructorsConstructorDescriptionAcceptChannelTask(NioServer server, ServerSocketChannel serverSocketChannel, SocketChannel channel, boolean ssl) Initialize this task with the specified selection key. -
Method Summary
-
Constructor Details
-
AcceptChannelTask
public AcceptChannelTask(NioServer server, ServerSocketChannel serverSocketChannel, SocketChannel channel, boolean ssl) Initialize this task with the specified selection key.- Parameters:
serverSocketChannel- the server socketc channel that accepted the connection.server- the related nio server.channel- the newly accepted socket channel.ssl- determines whether ssl is enabled for the channel.
-
-
Method Details