TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.hyades.internal.execution.file
Interface IConnectionHandler


public interface IConnectionHandler

New connection handler interface that operates on socket channels rather than plain sockets (the socket channel is local abstraction and is not the standard Java one)


Method Summary
 void connectionAccepted(ISocketChannel clientChannel)
          Method that is invoked once a new connection is made with the client via the client socket channel.
 

Method Detail

connectionAccepted

void connectionAccepted(ISocketChannel clientChannel)
Method that is invoked once a new connection is made with the client via the client socket channel. It is assumed the implementation of this method will spawn off a worker to handle the communication with the client.

Parameters:
clientChannel - the client channel created from the server socket channel

TPTP 4.5.0 Platform Project
Internal API Specification