Package jade.imtp.leap.JICP
Class MaskableJICPPeer
- java.lang.Object
-
- jade.imtp.leap.JICP.JICPPeer
-
- jade.imtp.leap.JICP.MaskableJICPPeer
-
- All Implemented Interfaces:
ICP,ProtocolManager
public class MaskableJICPPeer extends JICPPeer
Class declaration- Author:
- Giovanni Caire - TILAB
-
-
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 MaskableJICPPeer()Default constructor
-
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 portbyte[]deliverCommand(TransportAddress ta, byte[] payload, boolean requireFreshConnection)deliver a serialized command to a given transport address-
Methods inherited from class jade.imtp.leap.JICP.JICPPeer
deactivate, getConnectionFactory, getProtocol, getServerSocket
-
-
-
-
Method Detail
-
activate
public TransportAddress activate(ICP.Listener l, String peerID, Profile p) throws ICPException
Start listening for internal platform messages on the specified port- Specified by:
activatein interfaceICP- Overrides:
activatein classJICPPeer- Throws:
ICPException
-
deliverCommand
public byte[] deliverCommand(TransportAddress ta, byte[] payload, boolean requireFreshConnection) throws ICPException
deliver a serialized command to a given transport address- Specified by:
deliverCommandin interfaceICP- Overrides:
deliverCommandin classJICPPeer- Throws:
ICPException
-
-