Interface StreamReceiver
- All Superinterfaces:
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(OutboundStreamSession session) Invoked by the transport provider when a new connection request or datagram is received.Methods inherited from interface OsidReceiver
down, up
-
Method Details
-
dispatch
Invoked by the transport provider when a new connection request or datagram is received.- Parameters:
session- a session to send and receive data- Compliance:
mandatory- This method must be implemented.
-