public interface TransportProxyManager extends OsidProxyManager, TransportProfile
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.
| Modifier and Type | Method and Description |
|---|---|
EndpointLookupSession |
getEndpointLookupSession(Proxy proxy)
Gets the endpoint lookup service.
|
InboundMessageSession |
getInboundMessageSession(MessageReceiver messageReceiver,
Proxy proxy)
Gets a service for inbound message transport.
|
InboundMessageSession |
getInboundMessageSessionForEndpoint(MessageReceiver messageReceiver,
Id endpointId,
Proxy proxy)
Gets a service for inbound message transport using a specified
Endpoint.
|
InboundStreamSession |
getInboundStreamSession(StreamReceiver streamReceiver,
Proxy proxy)
Gets a service for inbound stream transport.
|
InboundStreamSession |
getInboundStreamSessionForEndpoint(StreamReceiver streamReceiver,
Id endpointId,
Proxy proxy)
Gets a service for inbound stream transport using a specified
Endpoint. |
OutboundMessageSession |
getOutboundMessageSession(Proxy proxy)
Gets a service for outbound message transport.
|
OutboundMessageSession |
getOutboundMessageSessionForEndpoint(Id endpointId,
Proxy proxy)
Gets a service for outbound message transport using a specified
Endpoint.
|
OutboundStreamSession |
getOutboundStreamSession(Proxy proxy)
Gets a service for outbound stream transport.
|
OutboundStreamSession |
getOutboundStreamSessionForEndpoint(Id endpointId,
Proxy proxy)
Gets a service for outbound stream transport using a specified
Endpoint. |
changeBranch, initialize, rollbackServiceclosegetEndpointRecordTypes, getRequestRecordTypes, getResponseRecordTypes, supportsEndpointLookup, supportsEndpointRecordType, supportsInboundMessage, supportsInboundStream, supportsOutboundMessage, supportsOutboundStream, supportsRequestRecordType, supportsResponseRecordType, supportsVisibleFederationgetBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypegetBranding, getBrandingIds, getLicense, getProvider, getProviderIdOutboundStreamSession getOutboundStreamSession(Proxy proxy) throws OperationFailedException
proxy - a proxy OutboundStreamSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsOutboundStream() is false optional - This method must be implemented if
supportsOutboundStream() is true. OutboundStreamSession getOutboundStreamSessionForEndpoint(Id endpointId, Proxy proxy) throws NotFoundException, OperationFailedException
Endpoint. endpointId - a transport endpointproxy - a proxy OutboundStreamSession NotFoundException - endpointId or
proxy is not foundNullArgumentException - endpointId is
null OperationFailedException - unable to complete
request UnimplementedException -
supportsOutboundStream() or
supportsVisibleFederationI() is false optional - This method must be implemented if
supportsOutboundStream() and
supportsVisibleFederation() are true.
InboundStreamSession getInboundStreamSession(StreamReceiver streamReceiver, Proxy proxy) throws OperationFailedException
streamReceiver - a stream receiverproxy - a proxy InboundStreamSession NullArgumentException - streamReceiver
or proxy is null OperationFailedException - unable to complete requestUnimplementedException - supportsInboundStream()
is false optional - This method must be implemented if
supportsInboundStream() is true. InboundStreamSession getInboundStreamSessionForEndpoint(StreamReceiver streamReceiver, Id endpointId, Proxy proxy) throws NotFoundException, OperationFailedException
Endpoint. streamReceiver - a stream receiverendpointId - a transport endpointproxy - a proxy InboundStreamSession NotFoundException - endpointId is not
foundNullArgumentException - streamReceiver,
endpointId or porxy is null
OperationFailedException - unable to complete
request UnimplementedException - supportsInboundStream()
or supportsVisibleFederationI() is
false optional - This method must be implemented if
supportsInboundStream() and
supportsVisibleFederation() are true.
OutboundMessageSession getOutboundMessageSession(Proxy proxy) throws OperationFailedException
proxy - a proxy OutboundMessageSession NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException -
supportsOutboundMessage() is false optional - This method must be implemented if
supportsOutboundMessage() is true. OutboundMessageSession getOutboundMessageSessionForEndpoint(Id endpointId, Proxy proxy) throws NotFoundException, OperationFailedException
endpointId - a transport endpointproxy - a proxy OutboundMessageSession NotFoundException - endpointId is not
foundNullArgumentException - endpointId or
proxy is null OperationFailedException - unable to complete
request UnimplementedException -
supportsOutboundMessage() or supportsVisibleFederationI() is
false optional - This method must be implemented if
supportsOutboundMessage() and
supportsVisibleFederation() are true.
InboundMessageSession getInboundMessageSession(MessageReceiver messageReceiver, Proxy proxy) throws OperationFailedException
messageReceiver - a message receiverproxy - a proxy InboundMessageSession NullArgumentException - messageReceiver
or proxy is null OperationFailedException - unable to complete requestUnimplementedException -
supportsInboundMessage() is false optional - This method must be implemented if
supportsInboundMessage() is true. InboundMessageSession getInboundMessageSessionForEndpoint(MessageReceiver messageReceiver, Id endpointId, Proxy proxy) throws NotFoundException, OperationFailedException
messageReceiver - a message receiverendpointId - a transport endpointproxy - a proxy InboundMessageSession NotFoundException - endpointId is not
foundNullArgumentException - messageReceiver,
endpointId or proxy is null
OperationFailedException - unable to complete
request UnimplementedException -
supportsInboundMessage() or supportsVisibleFederationI() is
false optional - This method must be implemented if
supportsInboundMessage() and
supportsVisibleFederation() are true. EndpointLookupSession getEndpointLookupSession(Proxy proxy) throws OperationFailedException
proxy - a proxy EndpointLookupSesson NullArgumentException - proxy is
null OperationFailedException - unable to complete requestUnimplementedException - supportsInbound()
is false optional - This method must be implemented if
supportsInbound() is true.