ProtocolFinderpublic interface ProtocolFinder This interface should be used to implement a TCP 'protocol finder'. From the
SelectionKey , it is possible to get a reference to the
SocketChannel and read bytes from it. From the bytes read, the
TCP protocol can be derived and stored inside a ProtocolInfo
instance. |
|