Package jade.imtp.leap.JICP
Class JICPSPeer
- java.lang.Object
-
- jade.imtp.leap.JICP.JICPPeer
-
- jade.imtp.leap.JICP.JICPSPeer
-
- All Implemented Interfaces:
ICP,ProtocolManager
- Direct Known Subclasses:
HTTPSPeer
public class JICPSPeer extends JICPPeer
JICPSPeer - JICP Secure Peer This JICP peer uses secure connections with or without mutual authentication of the endpoints by using digital certificates. It leverages SSL/TLS.- Author:
- Giovanni Caire - TILAB, Giosue Vitaglione - TILAB, Jamie Lawrence - Broadcom Eireann Research, Ronnie Taib - Motorola, Nicolas Lhuillier - Motorola
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jade.imtp.leap.ICP
ICP.Listener
-
-
Field Summary
Fields Modifier and Type Field Description protected static LoggermyLogger-
Fields inherited from class jade.imtp.leap.JICP.JICPPeer
CONNECTION_TIMEOUT, READ_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description JICPSPeer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportAddressactivate(ICP.Listener l, String peerID, Profile p)Start listening for internal platform messages on the specified portConnectionFactorygetConnectionFactory()Subclasses may re-define this method to return their own ConnectionFactoryprotected ServerSocketgetServerSocket(String host, int port, boolean changePortIfBusy)-
Methods inherited from class jade.imtp.leap.JICP.JICPPeer
deactivate, deliverCommand, getProtocol
-
-
-
-
Field Detail
-
myLogger
protected static Logger myLogger
-
-
Method Detail
-
activate
public TransportAddress activate(ICP.Listener l, String peerID, Profile p) throws ICPException
Description copied from class:JICPPeerStart listening for internal platform messages on the specified port- Specified by:
activatein interfaceICP- Overrides:
activatein classJICPPeer- Throws:
ICPException
-
getConnectionFactory
public ConnectionFactory getConnectionFactory()
Subclasses may re-define this method to return their own ConnectionFactory- Specified by:
getConnectionFactoryin interfaceProtocolManager- Overrides:
getConnectionFactoryin classJICPPeer
-
getServerSocket
protected ServerSocket getServerSocket(String host, int port, boolean changePortIfBusy) throws ICPException
- Overrides:
getServerSocketin classJICPPeer- Throws:
ICPException
-
-