hp.telephony.media
Interface Conference

All Superinterfaces:
ConferenceConstants, Resource, ResourceConstants
All Known Implementing Classes:
AsyncMediaGroup

public interface Conference
extends Resource, ConferenceConstants

Since:
OCMP 2.2
See Also:
CCSession.register(CP aCP, ConferenceSpec acSpec, Class aclass, ConferenceListener aconfListener)

Field Summary
 
Fields inherited from interface hp.telephony.media.ResourceConstants
e_Disconnected, e_OK, FOREVER, q_Duration, q_RTC, q_Standard, q_Stop, rtcc_Disconnected, rtcc_TriggerRTC, v_Forever
 
Fields inherited from interface hp.telephony.media.ConferenceConstants
p_AutoRelease, p_ListenOnly, p_TalkOnly
 
Method Summary
 void join(ConferenceIF aconfIF)
          Join to a given conference in both directions.
 void unjoin(ConferenceIF aconfIF)
          Unjoin the MG from a conference.
 

Method Detail

join

public void join(ConferenceIF aconfIF)
          throws AccessControlException
Join to a given conference in both directions.

Pre-conditions:
1. The configSpec used to build this AsyncMediaGroup is a userConferenceConfig ConfigSpec.
2. The CP looped to this MG must have been registered to this conference.

Post-conditions:
1. Media operations play & record are stopped and get a completion event with : ResourceEvent.getQualifier() == ResourceEvent.q_Stop.
2. SignalDetection remains the only media operation possible.
3. To do other media operations (play, record..), a call to method unjoin(..) is necessary.

Throws:
BadThreadException - if the method is not called on the proper User Thread

AccessControlException
Since:
OCMP 2.2

unjoin

public void unjoin(ConferenceIF aconfIF)
            throws AccessControlException
Unjoin the MG from a conference.

Pre-conditions:
1. The configSpec used to build this AsyncMediaGroup is a userConferenceConfig ConfigSpec.
2. The MG must have been previously joined to this conferenceIF.

Throws:
BadThreadException - if the method is not called on the proper User Thread.
ResourceNotAvailableException - if this MG is not already joined to this MG.

AccessControlException
Since:
OCMP 2.2