OSID Logo
OSID Specifications
transport package
Version 3.1.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.Proxyproxy a proxy
Returnosid.transport.OutboundStreamSession an OutboundStreamSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsOutboundStream() is false
Complianceoptional This method must be implemented if supportsOutboundStream() is true.
MethodgetOutboundStreamSessionForEndpoint
Description

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

Parametersosid.id.IdendpointId a transport endpoint
osid.proxy.Proxyproxy a proxy
Returnosid.transport.OutboundStreamSession an OutboundStreamSession
ErrorsNOT_FOUND endpointId or proxy is not found
NULL_ARGUMENT endpointId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsOutboundStream() or supportsVisibleFederationI() is false
Complianceoptional This method must be implemented if supportsOutboundStream() and supportsVisibleFederation() are true.
MethodgetInboundStreamSession
Description

Gets a service for inbound stream transport.

Parametersosid.transport.StreamReceiverstreamReceiver a stream receiver
osid.proxy.Proxyproxy a proxy
Returnosid.transport.InboundStreamSession an InboundStreamSession
ErrorsNULL_ARGUMENT streamReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInboundStream() is false
Complianceoptional This method must be implemented if supportsInboundStream() is true.
MethodgetInboundStreamSessionForEndpoint
Description

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

Parametersosid.transport.StreamReceiverstreamReceiver a stream receiver
osid.id.IdendpointId a transport endpoint
osid.proxy.Proxyproxy a proxy
Returnosid.transport.InboundStreamSession an InboundStreamSession
ErrorsNOT_FOUND endpointId is not found
NULL_ARGUMENT streamReceiver, endpointId or porxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInboundStream() or supportsVisibleFederationI() is false
Complianceoptional This method must be implemented if supportsInboundStream() and supportsVisibleFederation() are true.
MethodgetOutboundMessageSession
Description

Gets a service for outbound message transport.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.OutboundMessageSession an OutboundMessageSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsOutboundMessage() is false
Complianceoptional This method must be implemented if supportsOutboundMessage() is true.
MethodgetOutboundMessageSessionForEndpoint
Description

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

Parametersosid.id.IdendpointId a transport endpoint
osid.proxy.Proxyproxy a proxy
Returnosid.transport.OutboundMessageSession an OutboundMessageSession
ErrorsNOT_FOUND endpointId is not found
NULL_ARGUMENT endpointId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsOutboundMessage() or supportsVisibleFederationI() is false
Complianceoptional This method must be implemented if supportsOutboundMessage() and supportsVisibleFederation() are true.
MethodgetInboundMessageSession
Description

Gets a service for inbound message transport.

Parametersosid.transport.MessageReceivermessageReceiver a message receiver
osid.proxy.Proxyproxy a proxy
Returnosid.transport.InboundMessageSession an InboundMessageSession
ErrorsNULL_ARGUMENT messageReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInboundMessage() is false
Complianceoptional This method must be implemented if supportsInboundMessage() is true.
MethodgetInboundMessageSessionForEndpoint
Description

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

Parametersosid.transport.MessageReceivermessageReceiver a message receiver
osid.id.IdendpointId a transport endpoint
osid.proxy.Proxyproxy a proxy
Returnosid.transport.InboundMessageSession an InboundMessageSession
ErrorsNOT_FOUND endpointId is not found
NULL_ARGUMENT messageReceiver, endpointId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInboundMessage() or supportsVisibleFederationI() is false
Complianceoptional This method must be implemented if supportsInboundMessage() and supportsVisibleFederation() are true.
MethodgetEndpointLookupSession
Description

Gets the endpoint lookup service.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointLookupSession an EndpointLookupSesson
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsInbound() is false
Complianceoptional This method must be implemented if supportsInbound() is true.
MethodgetEndpointQuerySession
Description

Gets the endpoint query session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointQuerySession a EndpointQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEndpointQuery() is false
Complianceoptional This method must be implemented if supportsEndpointQuery() is true.
MethodgetEndpointSearchSession
Description

Gets the endpoint search session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointSearchSession a EndpointSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEndpointSearch() is false
Complianceoptional This method must be implemented if supportsEndpointSearch() is true.
MethodgetEndpointAdminSession
Description

Gets the endpoint administrative session for creating, updating and deleteing endpoints.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointAdminSession a EndpointAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEndpointAdmin() is false
Complianceoptional This method must be implemented if supportsEndpointAdmin() is true.
MethodgetEndpointNotificationSession
Description

Gets the notification session for subscribing to changes to a endpoint.

Parametersosid.transport.EndpointReceiverendpointReceiver notification callback
osid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointNotificationSession a EndpointNotificationSession
ErrorsNULL_ARGUMENT endpointReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEndpointNotification() is false
Complianceoptional This method must be implemented if supportsEndpointNotification() is true.
MethodgetEndpointHierarchySession
Description

Gets the endpoint hierarchy traversal session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointHierarchySession a EndpointHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNIMPLEMENTED supportsEndpointHierarchy() is false
Complianceoptional This method must be implemented if supportsEndpointHierarchy() is true.
MethodgetEndpointHierarchyDesignSession
Description

Gets the endpoint hierarchy design session.

Parametersosid.proxy.Proxyproxy a proxy
Returnosid.transport.EndpointHierarchyDesignSession a EndpointHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNIMPLEMENTED supportsEndpointHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsEndpointHierarchyDesign() is true.