Package jade.imtp.leap.nio
Class NIOJICPSPeer
- java.lang.Object
-
- jade.imtp.leap.JICP.JICPPeer
-
- jade.imtp.leap.nio.NIOJICPPeer
-
- jade.imtp.leap.nio.NIOJICPSPeer
-
- All Implemented Interfaces:
ICP,ProtocolManager
public class NIOJICPSPeer extends NIOJICPPeer
This class provides aConnectionFactorythat will constructNIOJICPSConnections. Before the NIOJICPSConnections can be usedNIOJICPSConnection#init(java.nio.channels.SelectionKey)must be called.- Author:
- eduard
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jade.imtp.leap.ICP
ICP.Listener
-
-
Field Summary
-
Fields inherited from class jade.imtp.leap.JICP.JICPPeer
CONNECTION_TIMEOUT, READ_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description NIOJICPSPeer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionFactorygetConnectionFactory()Subclasses may re-define this method to return their own ConnectionFactory-
Methods inherited from class jade.imtp.leap.JICP.JICPPeer
activate, deactivate, deliverCommand, getProtocol, getServerSocket
-
-
-
-
Method Detail
-
getConnectionFactory
public ConnectionFactory getConnectionFactory()
Description copied from class:JICPPeerSubclasses may re-define this method to return their own ConnectionFactory- Specified by:
getConnectionFactoryin interfaceProtocolManager- Overrides:
getConnectionFactoryin classNIOJICPPeer
-
-