Package jade.mtp
Interface OutChannel
-
- All Known Subinterfaces:
MTP
- All Known Implementing Classes:
MessageTransportProtocol,MessageTransportProtocol
public interface OutChannelThis interface is the sender's view of an MTP.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeliver(String addr, Envelope env, byte[] payload)Delivers to the specified address an ACL message, encoded in some concrete message representation, using the given envelope as a transmission header.
-
-
-
Method Detail
-
deliver
void deliver(String addr, Envelope env, byte[] payload) throws MTPException
Delivers to the specified address an ACL message, encoded in some concrete message representation, using the given envelope as a transmission header.- Parameters:
ta- The transport address to deliver the message to. It must be a valid address for this MTP.env- The message envelope, containing various fields related to message recipients, encoding, and timestamping.- Throws:
MTPException- Thrown if some MTP delivery error occurs.
-
-