org.csapi.jr.se.cc.mmccs
Interface MultiMediaCallLeg

All Superinterfaces:
CsapiInterface, java.io.Serializable, Service

public interface MultiMediaCallLeg
extends Service

This interface represents a MultiMediaCallLeg.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Service
IN_SERVICE_STATE, OUT_OF_SERVICE_STATE
 
Method Summary
 void addMultiMediaCallLegListener(MultiMediaCallLegListener multiMediaCallLegListener)
          Adds a MultiMediaCallLegListener which is interested in events generated by the MultiMediaCallLeg.
 MediaStream[] getMediaStreams()
          Invokes the getMediaStreams() method on the Parlay Gateway.
 MultiMediaCall getMultiMediaCall()
          Returns a reference to the MultiMediaCall responsible for creation of the MultiMediaCallLeg.
 void mediaStreamAllow(int[] mediaStreamList)
          Invokes the mediaStreamAllow() method on the Parlay Gateway.
 void mediaStreamMonitorReq(MediaStreamRequest[] mediaStreamEventCriteria)
          Invokes the mediaStreamMonitorReq() method on the Parlay Gateway.
 void removeMultiMediaCallLegListener(MultiMediaCallLegListener multiMediaCallLegListener)
          Removes a MultiMediaCallLegListener which is no longer interested in events generated by the MultiMediaCallLeg.
 
Methods inherited from interface org.csapi.jr.se.Service
addServiceStateChangeListener, getServiceState, removeServiceStateChangeListener
 

Method Detail

addMultiMediaCallLegListener

public void addMultiMediaCallLegListener(MultiMediaCallLegListener multiMediaCallLegListener)
Adds a MultiMediaCallLegListener which is interested in events generated by the MultiMediaCallLeg.

Parameters:
multiMediaCallLegListener - A reference to the MultiMediaCallLegListener which is to be added as a listener.

removeMultiMediaCallLegListener

public void removeMultiMediaCallLegListener(MultiMediaCallLegListener multiMediaCallLegListener)
Removes a MultiMediaCallLegListener which is no longer interested in events generated by the MultiMediaCallLeg.

Parameters:
multiMediaCallLegListener - A reference to the MultiMediaCallLegListener which is to be removed as a listener.

getMultiMediaCall

public MultiMediaCall getMultiMediaCall()
Returns a reference to the MultiMediaCall responsible for creation of the MultiMediaCallLeg.

Returns:
A reference to the MultiMediaCall responsible for creation of the MultiMediaCallLeg.

mediaStreamAllow

public void mediaStreamAllow(int[] mediaStreamList)
                      throws PlatformException,
                             CommonException
Invokes the mediaStreamAllow() method on the Parlay Gateway.

Throws:
PlatformException
CommonException

mediaStreamMonitorReq

public void mediaStreamMonitorReq(MediaStreamRequest[] mediaStreamEventCriteria)
                           throws PlatformException,
                                  CommonException,
                                  InvalidCriteriaException,
                                  InvalidEventTypeException
Invokes the mediaStreamMonitorReq() method on the Parlay Gateway.

Throws:
PlatformException
CommonException
InvalidCriteriaException
InvalidEventTypeException

getMediaStreams

public MediaStream[] getMediaStreams()
                              throws PlatformException,
                                     CommonException
Invokes the getMediaStreams() method on the Parlay Gateway.

Throws:
PlatformException
CommonException