Interface TransportSender

All Superinterfaces:
RunningDaemon
All Known Subinterfaces:
Transport
All Known Implementing Classes:
DummyTransportTrx, MailConnector, MailServer, SmtpImapServer, SmtpSender, TestPop3Handler, TestSmtpHandler

public interface TransportSender extends RunningDaemon
  • Method Details

    • sendMessage

      void sendMessage(String address, InputStream os) throws IOException

      sends a message on the transport layer.

      This method is called by the blender layer to send a message.

      Parameters:
      address - the string representation of the target address on the transport layer
      os - the outputstream providing the message
      Throws:
      IOException - if transport layer was unable to satisfy the request