OSID Logo
OSID Specifications
transport package
Version 3.0.0
Interfaceosid.transport.TransportProxyManager
Implementsosid.OsidProxyManager
osid.transport.TransportProfile
Used Byosid.orchestration.OrchestrationManager
Description

This manager provides access to the sessions defined in this service. The outbound sessions are used to connect to a remote endpoint and the inbound sessions are used to receive incoming connections.

The two flavors of transport are stream and message oriented. Messages offer more structured requests and responses although their structure may include embedded streams.

MethodgetOutboundStreamSession
Description

Gets a service for outbound stream transport.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.transport.OutboundStreamSessionan OutboundStreamSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsOutboundStream() is false
ComplianceoptionalThis method must be implemented if supportsOutboundStream() is true .
MethodgetOutboundStreamSessionForEndpoint
Description

Gets a service for outbound stream transport using a specified Endpoint .

Parametersosid.id.IdendpointIda transport endpoint
osid.proxy.Proxyproxya proxy
Returnosid.transport.OutboundStreamSessionan OutboundStreamSession
ErrorsNOT_FOUNDendpointId or proxy is not found
NULL_ARGUMENTendpointId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsOutboundStream() or supportsVisibleFederationI() is false
ComplianceoptionalThis method must be implemented if supportsOutboundStream() and supportsVisibleFederation() are true .
MethodgetInboundStreamSession
Description

Gets a service for inbound stream transport.

Parametersosid.transport.StreamReceiverstreamReceivera stream receiver
osid.proxy.Proxyproxya proxy
Returnosid.transport.InboundStreamSessionan InboundStreamSession
ErrorsNULL_ARGUMENTstreamReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsInboundStream() is false
ComplianceoptionalThis method must be implemented if supportsInboundStream() is true .
MethodgetInboundStreamSessionForEndpoint
Description

Gets a service for inbound stream transport using a specified Endpoint .

Parametersosid.transport.StreamReceiverstreamReceivera stream receiver
osid.id.IdendpointIda transport endpoint
osid.proxy.Proxyproxya proxy
Returnosid.transport.InboundStreamSessionan InboundStreamSession
ErrorsNOT_FOUNDendpointId is not found
NULL_ARGUMENTstreamReceiver, endpointId or porxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsInboundStream() or supportsVisibleFederationI() is false
ComplianceoptionalThis method must be implemented if supportsInboundStream() and supportsVisibleFederation() are true .
MethodgetOutboundMessageSession
Description

Gets a service for outbound message transport.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.transport.OutboundMessageSessionan OutboundMessageSession
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsOutboundMessage() is false
ComplianceoptionalThis method must be implemented if supportsOutboundMessage() is true .
MethodgetOutboundMessageSessionForEndpoint
Description

Gets a service for outbound message transport using a specified Endpoint.

Parametersosid.id.IdendpointIda transport endpoint
osid.proxy.Proxyproxya proxy
Returnosid.transport.OutboundMessageSessionan OutboundMessageSession
ErrorsNOT_FOUNDendpointId is not found
NULL_ARGUMENTendpointId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsOutboundMessage() or supportsVisibleFederationI() is false
ComplianceoptionalThis method must be implemented if supportsOutboundMessage() and supportsVisibleFederation() are true .
MethodgetInboundMessageSession
Description

Gets a service for inbound message transport.

Parametersosid.transport.MessageReceivermessageReceivera message receiver
osid.proxy.Proxyproxya proxy
Returnosid.transport.InboundMessageSessionan InboundMessageSession
ErrorsNULL_ARGUMENTmessageReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsInboundMessage() is false
ComplianceoptionalThis method must be implemented if supportsInboundMessage() is true .
MethodgetInboundMessageSessionForEndpoint
Description

Gets a service for inbound message transport using a specified Endpoint.

Parametersosid.transport.MessageReceivermessageReceivera message receiver
osid.id.IdendpointIda transport endpoint
osid.proxy.Proxyproxya proxy
Returnosid.transport.InboundMessageSessionan InboundMessageSession
ErrorsNOT_FOUNDendpointId is not found
NULL_ARGUMENTmessageReceiver, endpointId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsInboundMessage() or supportsVisibleFederationI() is false
ComplianceoptionalThis method must be implemented if supportsInboundMessage() and supportsVisibleFederation() are true.
MethodgetEndpointLookupSession
Description

Gets the endpoint lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.transport.EndpointLookupSessionan EndpointLookupSesson
ErrorsNULL_ARGUMENTproxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTEDsupportsInbound() is false
ComplianceoptionalThis method must be implemented if supportsInbound() is true .