alt.javax.mail

Interface Service

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

public interface 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()

Method Details

addConnectionListener

public void addConnectionListener(ConnectionListener connectionListener)

close

public void close()
            throws MessagingException

connect

public void connect()
            throws MessagingException

connect

public void connect(String host,
                    String user,
                    String password)
            throws MessagingException

connect

public void connect(String host,
                    int port,
                    String user,
                    String password)
            throws MessagingException

getURLName

public URLName getURLName()

isConnected

public boolean isConnected()

removeConnectionListener

public void removeConnectionListener(ConnectionListener connectionListener)

toString

public String toString()

Copyright © 2002 Mock Objects. All Rights Reserved.