alt.javax.mail
Class ServiceImpl
java.lang.Object
alt.javax.mail.ServiceImpl
- All Implemented Interfaces:
- Service
- Direct Known Subclasses:
- TransportImpl
- public class ServiceImpl
- extends java.lang.Object
- implements Service
|
Constructor Summary |
ServiceImpl(javax.mail.Service service)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceImpl
public ServiceImpl(javax.mail.Service service)
connect
public void connect()
throws MessagingException
- Specified by:
connect in interface Service
- Throws:
MessagingException
connect
public void connect(java.lang.String host,
java.lang.String user,
java.lang.String password)
throws MessagingException
- Specified by:
connect in interface Service
- Throws:
MessagingException
connect
public void connect(java.lang.String host,
int port,
java.lang.String user,
java.lang.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 java.lang.String toString()
- Specified by:
toString in interface Service
Copyright © 2002 Mock Objects. All Rights Reserved.