Interface TransportProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
TransportManager, TransportProxyManager
The TransportProfile defines the interoperability of the
transport OSID.
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of supported endpoint record types.Gets a list of supported request record types.Gets a list of supported response record types.booleanTests if endpoint lookup is supported.booleansupportsEndpointRecordType(Type endpointRecordType) Tests if an endpoint record type is supported.booleanTests if inbound message transport is supported.booleanTests if inbound stream transport is supported.booleanTests if outbound message transport is supported.booleanTests if outbound stream transport is supported.booleansupportsRequestRecordType(Type requestRecordType) Tests if a request record type is supported.booleansupportsResponseRecordType(Type responseRecordType) Tests if a response record type is supported.booleanTests if any transport endpoint federation is exposed.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
supportsVisibleFederation
boolean supportsVisibleFederation()Tests if any transport endpoint federation is exposed. Federation is exposed when a specific endpoint may be used. Federation is not exposed when a set of endpoints appears as a single endpoint.- Returns:
trueif federation is visiblefalseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsOutboundStream
boolean supportsOutboundStream()Tests if outbound stream transport is supported.- Returns:
trueif outbound stream transport is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsInboundStream
boolean supportsInboundStream()Tests if inbound stream transport is supported.- Returns:
trueif incoming stream transport is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsOutboundMessage
boolean supportsOutboundMessage()Tests if outbound message transport is supported.- Returns:
trueif outbound message transport is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsInboundMessage
boolean supportsInboundMessage()Tests if inbound message transport is supported.- Returns:
trueif incoming message transport is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsEndpointLookup
boolean supportsEndpointLookup()Tests if endpoint lookup is supported.- Returns:
trueif endpoint lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEndpointRecordTypes
TypeList getEndpointRecordTypes()Gets a list of supported endpoint record types.- Returns:
- a list of supported endpoint record types
- Compliance:
mandatory- This method must be implemented.
-
supportsEndpointRecordType
Tests if an endpoint record type is supported.- Parameters:
endpointRecordType- an endpoint record type- Returns:
trueif the endpoint record type is supported,falseotherwise- Throws:
NullArgumentException-endpointRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getRequestRecordTypes
TypeList getRequestRecordTypes()Gets a list of supported request record types.- Returns:
- a list of supported request record types
- Compliance:
mandatory- This method must be implemented.
-
supportsRequestRecordType
Tests if a request record type is supported.- Parameters:
requestRecordType- a request record type- Returns:
trueif the request record type is supported,falseotherwise- Throws:
NullArgumentException-requestRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getResponseRecordTypes
TypeList getResponseRecordTypes()Gets a list of supported response record types.- Returns:
- a list of supported response record types
- Compliance:
mandatory- This method must be implemented.
-
supportsResponseRecordType
Tests if a response record type is supported.- Parameters:
responseRecordType- a response record type- Returns:
trueif the response record type is supported,falseotherwise- Throws:
NullArgumentException-responseRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-