alt.javax.mail

Class ServiceImpl

Implemented Interfaces:
Service
Known Direct Subclasses:
TransportImpl

public class ServiceImpl
extends java.lang.Object
implements Service

Constructor Summary

ServiceImpl(javax.mail.Service service)

Method Summary

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

Constructor Details

ServiceImpl

public ServiceImpl(javax.mail.Service service)

Method Details

addConnectionListener

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

close

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

connect

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

connect

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

connect

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

getURLName

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

isConnected

public boolean isConnected()
Specified by:
isConnected 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

Copyright © 2002 Mock Objects. All Rights Reserved.