Interface CommunicationManager
- All Superinterfaces:
AutoCloseable, Closeable, CommunicationProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The communication manager provides access to locale sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
CommunicationSession: a session to receive communications
-
Method Summary
Modifier and TypeMethodDescriptiongetCommunicationSession(CommunicationReceiver receiver) Gets anOsidSessionassociated with the communication service.Methods inherited from interface CommunicationProfile
getCommuniqueRecordTypes, getResponseOptionRecordTypes, getResponseRecordTypes, supportsCommunication, supportsCommuniqueRecordType, supportsResponseOptionRecordType, supportsResponseRecordTypeModifier and TypeMethodDescriptionGets the supportedCommuniquerecord types.Gets the supportedResponseOptionrecord types.Gets the supportedResponserecord types.booleanTests if a communication service is available.booleansupportsCommuniqueRecordType(Type communiqueRecordType) Tests if the givenCommuniquerecord type is supported.booleansupportsResponseOptionRecordType(Type responseOptionRecordType) Tests if the givenResponseOptionrecord type is supported.booleansupportsResponseRecordType(Type responseRecordType) Tests if the givenResponserecord type is supported.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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
-
getCommunicationSession
CommunicationSession getCommunicationSession(CommunicationReceiver receiver) throws OperationFailedException Gets anOsidSessionassociated with the communication service.- Parameters:
receiver- the communication receiver- Returns:
- a
CommunicationSession - Throws:
NullArgumentException-receiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCommunication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCommunication()} is {@code true} .
-