OSID Logo
OSID Specifications
transport package
Version 3.1.0
Interfaceosid.transport.InboundStreamSession
Implementsosid.OsidSession
Used Byosid.transport.TransportManager
osid.transport.TransportProxyManager
Description

The inbound stream session is used as a listener. A callback is registered using a StreamReceiver. The listener is closed when this session is closed.

MethodgetEndpointId
Description

Gets the Endpoint Id associated with this session.

Returnosid.id.Id the Endpoint Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetEndpoint
Description

Gets the Endpoint associated with this session.

Returnosid.transport.Endpoint the Endpoint associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterCallback
Description

Registers a callback to receive incoming data.

Parametersosid.transport.StreamReceiverreceiver a stream receievr
ErrorsNULL_ARGUMENT receiver is null
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.