Class ServiceImpl

java.lang.Object
alt.javax.mail.ServiceImpl
All Implemented Interfaces:
Service
Direct Known Subclasses:
TransportImpl

public class ServiceImpl extends Object implements Service
  • Constructor Details

    • ServiceImpl

      public ServiceImpl(javax.mail.Service service)
  • Method Details

    • connect

      public void connect() throws MessagingException
      Specified by:
      connect in interface Service
      Throws:
      MessagingException
    • connect

      public void connect(String host, String user, String password) throws MessagingException
      Specified by:
      connect in interface Service
      Throws:
      MessagingException
    • connect

      public void connect(String host, int port, String user, String password) throws MessagingException
      Specified by:
      connect in interface Service
      Throws:
      MessagingException
    • isConnected

      public boolean isConnected()
      Specified by:
      isConnected in interface Service
    • close

      public void close() throws MessagingException
      Specified by:
      close in interface Service
      Throws:
      MessagingException
    • getURLName

      public URLName getURLName()
      Specified by:
      getURLName in interface Service
    • addConnectionListener

      public void addConnectionListener(ConnectionListener connectionListener)
      Specified by:
      addConnectionListener in interface Service
    • removeConnectionListener

      public void removeConnectionListener(ConnectionListener connectionListener)
      Specified by:
      removeConnectionListener in interface Service
    • toString

      public String toString()
      Specified by:
      toString in interface Service
      Overrides:
      toString in class Object