Package jadex.platform.service.transport
Interface ITransportHandler<Con>
- 
- All Known Implementing Classes:
- AbstractTransportAgent,- IntravmTransportAgent,- TcpTransportAgent,- WebSocketTransportAgent
 
 public interface ITransportHandler<Con>Access interface with callbacks to be used by concrete transport implementations.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconnectionClosed(Con con, java.lang.Exception e)Called when a connection is closed.voidconnectionEstablished(Con con)Called when a server connection is established.IInternalAccessgetAccess()Get the internal access.voidmessageReceived(Con con, byte[] header, byte[] body)Deliver a received message.
 
- 
- 
- 
Method Detail- 
getAccessIInternalAccess getAccess() Get the internal access.
 - 
messageReceivedvoid messageReceived(Con con, byte[] header, byte[] body) Deliver a received message.- Parameters:
- con- The connection.
- header- The message header.
- body- The message body.
 
 - 
connectionEstablishedvoid connectionEstablished(Con con) Called when a server connection is established.- Parameters:
- con- The connection.
 
 - 
connectionClosedvoid connectionClosed(Con con, java.lang.Exception e) Called when a connection is closed.- Parameters:
- con- The connection.
- e- The exception, if any.
 
 
- 
 
-