alt.javax.mail
Interface Service
- All Known Subinterfaces:
- Transport
- All Known Implementing Classes:
- MockService, MockTransport, ServiceImpl, TransportImpl
- public interface Service
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.