public interface MessageReceiver extends OsidReceiver
The MessageReceiver is used to receive incoming
connections. The receiver is provided to the service via the
InboundMessageSession and invoked by the transport provider when a
new association is created.
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(OutboundMessageSession session)
Invoked by the transport provider when a new connection request or
datagram is received.
|
down, upvoid dispatch(OutboundMessageSession session)
session - a session to send and receive messagesmandatory - This method must be implemented.