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