ie.ncl.msg
Interface Sender
- All Superinterfaces:
- Connection
- All Known Implementing Classes:
- CimdConnection, ConnectionManager, GsmModem, Loopback, SmppConnection, UCPConnection
public interface Sender
- extends Connection
A Sender is a connection to some service that is used
by the application to send messages.
See above for implementations of the Sender interface.
Factory class provides ways of instantiaing senders
dynamically at runtime.
- See Also:
Factory
send
void send(Message message,
SenderListener listener)
throws MessageException,
ConnectionException
- Send a message asynchronously.
Once the message is processed (successfully sent or not)
the listener will be called to notify the application of the outcome.
See SenderListener for more detail.
- Throws:
MessageException
ConnectionException
- See Also:
SenderListener
,
Message