alt.javax.mail
Interface Service

All Known Subinterfaces:
Transport
All Known Implementing Classes:
MockService, MockTransport, ServiceImpl, TransportImpl

public interface Service


Method Summary
 void addConnectionListener(ConnectionListener connectionListener)
           
 void close()
           
 void connect()
           
 void connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
           
 void connect(java.lang.String host, java.lang.String user, java.lang.String password)
           
 URLName getURLName()
           
 boolean isConnected()
           
 void removeConnectionListener(ConnectionListener connectionListener)
           
 java.lang.String toString()
           
 

Method Detail

connect

public void connect()
             throws MessagingException
Throws:
MessagingException

connect

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

connect

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

isConnected

public boolean isConnected()

close

public void close()
           throws MessagingException
Throws:
MessagingException

getURLName

public URLName getURLName()

addConnectionListener

public void addConnectionListener(ConnectionListener connectionListener)

removeConnectionListener

public void removeConnectionListener(ConnectionListener connectionListener)

toString

public java.lang.String toString()


Copyright © 2002 Mock Objects. All Rights Reserved.