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(org.csapi.jr.se.cc.mmccs.MultiMediaCallLegListener multiMediaCallLegListener)
          Adds a MultiMediaCallLegListener which is interested in events generated by the MultiMediaCallLeg.
 org.csapi.jr.se.cc.mmccs.MediaStream[] getMediaStreams()
          Invokes the getMediaStreams() method on the Parlay Gateway.
 org.csapi.jr.se.cc.mmccs.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(org.csapi.jr.se.cc.mmccs.MediaStreamRequest[] mediaStreamEventCriteria)
          Invokes the mediaStreamMonitorReq() method on the Parlay Gateway.
 void removeMultiMediaCallLegListener(org.csapi.jr.se.cc.mmccs.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, setCallback
 

Method Detail

addMultiMediaCallLegListener

public void addMultiMediaCallLegListener(org.csapi.jr.se.cc.mmccs.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(org.csapi.jr.se.cc.mmccs.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 org.csapi.jr.se.cc.mmccs.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.

PlatformException
CommonException

mediaStreamMonitorReq

public void mediaStreamMonitorReq(org.csapi.jr.se.cc.mmccs.MediaStreamRequest[] mediaStreamEventCriteria)
                           throws PlatformException,
                                  CommonException,
                                  InvalidCriteriaException,
                                  InvalidEventTypeException
Invokes the mediaStreamMonitorReq() method on the Parlay Gateway.

PlatformException
CommonException
InvalidCriteriaException
InvalidEventTypeException

getMediaStreams

public org.csapi.jr.se.cc.mmccs.MediaStream[] getMediaStreams()
                                                       throws PlatformException,
                                                              CommonException
Invokes the getMediaStreams() method on the Parlay Gateway.

PlatformException
CommonException