Package jade.mtp

Interface OutChannel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void deliver​(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.