Package jade.imtp.leap.nio
Class NIOJICPPeer
- java.lang.Object
-
- jade.imtp.leap.JICP.JICPPeer
-
- jade.imtp.leap.nio.NIOJICPPeer
-
- All Implemented Interfaces:
ICP,ProtocolManager
- Direct Known Subclasses:
NIOHTTPPeer,NIOJICPSPeer
public class NIOJICPPeer extends JICPPeer
/** This class provides aConnectionFactorythat will constructNIOJICPConnections. Before the NIOJICPConnections can be usedNIOJICPConnection#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 NIOJICPPeer()
-
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 classJICPPeer
-
-