net.sf.sasl.common.communication
Interface ICommunicationChannel
- All Known Implementing Classes:
- SimpleMailChannel
public interface ICommunicationChannel
Interface defines methods which must be implemented by a communication
channel.
- Author:
- Philipp Förmer
Method Summary |
void |
sendOverChannel(String subject,
String message)
Sends a message over the communication channel to a receiver (or multiple
receivers). |
sendOverChannel
void sendOverChannel(String subject,
String message)
throws IllegalArgumentException,
CommunicationChannelException
- Sends a message over the communication channel to a receiver (or multiple
receivers). The message can be delivered synchronous or asynchronous.
- Parameters:
subject
- non null subject of the message.message
- non null message.
- Throws:
IllegalArgumentException
- if subject or message are null
CommunicationChannelException
Copyright © 2010. All Rights Reserved.