alt.javax.mail
Interface Transport

All Superinterfaces:
Service
All Known Implementing Classes:
MockTransport, TransportImpl

public interface Transport
extends Service


Method Summary
 void addTransportListener(TransportListener transportListener)
           
 void removeTransportListener(TransportListener transportListener)
           
 void send(Message message)
           
 void send(Message message, Address[] addresses)
           
 void sendMessage(Message message, Address[] addresses)
           
 
Methods inherited from interface alt.javax.mail.Service
addConnectionListener, close, connect, connect, connect, getURLName, isConnected, removeConnectionListener, toString
 

Method Detail

send

public void send(Message message)
          throws MessagingException
Throws:
MessagingException

send

public void send(Message message,
                 Address[] addresses)
          throws MessagingException
Throws:
MessagingException

sendMessage

public void sendMessage(Message message,
                        Address[] addresses)
                 throws MessagingException
Throws:
MessagingException

addTransportListener

public void addTransportListener(TransportListener transportListener)

removeTransportListener

public void removeTransportListener(TransportListener transportListener)


Copyright © 2002 Mock Objects. All Rights Reserved.