hp.opencall.media.ccapi
Interface CP


public interface CP

This Interface allows the application (oclet) to access information about a CallParty.

Since:
OCMP 2.0

Field Summary
static int BRIDGED
          The CallParty is in the Joined State.
static int BRIDGING
          The CallParty is in the Joining State.
static int IDLE
          The CallParty is in the Idle State.
static int LOOPED
          The CallParty is in the Looped State.
static int LOOPING
          The CallParty is in the Looping State.
static int MEDIAGROUP_LEG
          MediaGroup Leg Type.
static int OPENED
          The CallParty is in the Opened State.
static int RELEASED
          The CallParty is in the Released State.
static int TERMINAL_LEG
          Terminal Leg Type.
static int TRUNK_LEG
          Trunk Leg Type.
 
Method Summary
 int getLegType()
          FOR FUTURE USE.
 AsyncMediaGroup getMediaGroupLeg()
          Returns the MediaGroup leg associated to the CallParty.
 int getState()
          Returns the state of the CallParty.
 hp.opencall.media.common.StreamFormat getStreamFormat()
          Deprecated. No longer needed.
 TrunkLeg getTrunkLeg()
          Returns the TrunkLeg associated to the CallParty.
 

Field Detail

IDLE

public static final int IDLE
The CallParty is in the Idle State.

See Also:
Constant Field Values

OPENED

public static final int OPENED
The CallParty is in the Opened State.

See Also:
Constant Field Values

BRIDGING

public static final int BRIDGING
The CallParty is in the Joining State.

See Also:
Constant Field Values

BRIDGED

public static final int BRIDGED
The CallParty is in the Joined State.

See Also:
Constant Field Values

LOOPING

public static final int LOOPING
The CallParty is in the Looping State.

See Also:
Constant Field Values

LOOPED

public static final int LOOPED
The CallParty is in the Looped State.

See Also:
Constant Field Values

RELEASED

public static final int RELEASED
The CallParty is in the Released State.

See Also:
Constant Field Values

TRUNK_LEG

public static final int TRUNK_LEG
Trunk Leg Type.

See Also:
Constant Field Values

MEDIAGROUP_LEG

public static final int MEDIAGROUP_LEG
MediaGroup Leg Type.

See Also:
Constant Field Values

TERMINAL_LEG

public static final int TERMINAL_LEG
Terminal Leg Type.

See Also:
Constant Field Values
Method Detail

getState

public int getState()
Returns the state of the CallParty.


getLegType

public int getLegType()
FOR FUTURE USE.

Since:
Not supported

getTrunkLeg

public TrunkLeg getTrunkLeg()
                     throws ResourceNotAvailableException
Returns the TrunkLeg associated to the CallParty.

Throws:
ResourceNotAvailableException

getMediaGroupLeg

public AsyncMediaGroup getMediaGroupLeg()
Returns the MediaGroup leg associated to the CallParty.


getStreamFormat

public hp.opencall.media.common.StreamFormat getStreamFormat()
                                                      throws com.hp.opencall.media.resource.ResourceUnavailableException
Deprecated. No longer needed.

Throws:
com.hp.opencall.media.resource.ResourceUnavailableException