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