Package jade.mtp

Interface InChannel

    • Method Detail

      • activate

        void activate​(InChannel.Dispatcher disp,
                      TransportAddress ta,
                      Profile p)
               throws MTPException
        Activates an MTP handler for incoming messages on a specific address.
        Parameters:
        ta - A TransportAddress object, representing the transport address to listen to.
        Throws:
        MTPException - Thrown if some MTP initialization error occurs.
      • deactivate

        void deactivate​(TransportAddress ta)
                 throws MTPException
        Deactivates the MTP handler listening at a given transport address.
        Parameters:
        ta - The TransportAddress object the handle to close is listening to.
        Throws:
        MTPException - Thrown if some MTP cleanup error occurs.
      • deactivate

        void deactivate()
                 throws MTPException
        Deactivates all the MTP handlers.
        Throws:
        MTPException - Thrown if some MTP cleanup error occurs.