Interface Service

    • Method Detail

      • connect

        void connect()
              throws MessagingException
        Throws:
        MessagingException
      • connect

        void connect​(java.lang.String host,
                     java.lang.String user,
                     java.lang.String password)
              throws MessagingException
        Throws:
        MessagingException
      • connect

        void connect​(java.lang.String host,
                     int port,
                     java.lang.String user,
                     java.lang.String password)
              throws MessagingException
        Throws:
        MessagingException
      • isConnected

        boolean isConnected()
      • close

        void close()
            throws MessagingException
        Throws:
        MessagingException
      • getURLName

        URLName getURLName()
      • addConnectionListener

        void addConnectionListener​(ConnectionListener connectionListener)
      • removeConnectionListener

        void removeConnectionListener​(ConnectionListener connectionListener)
      • toString

        java.lang.String toString()
        Overrides:
        toString in class java.lang.Object