org.csapi.jr.se.cc.mmccs
Class ReportMediaNotificationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.cc.mmccs.ReportMediaNotificationEvent
All Implemented Interfaces:
java.io.Serializable

public final class ReportMediaNotificationEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the reportMediaNotification() method on the callback interface has occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReportMediaNotificationEvent(java.lang.Object source, MultiMediaCall interfaceRef, MultiMediaCallLeg[] callLegReferenceSet, MediaStream[] mediaStreams, MediaStreamEventType type, DataSessionQosClass qualityOfService)
          Constructor for the ReportMediaNotificationEvent Event.
 
Method Summary
 MultiMediaCallLeg[] getCallLegReferenceSet()
          This method is used to retrieve the parameter value of 'callLegReferenceSet' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.
 MediaStream[] getMediaStreams()
          This method is used to retrieve the parameter value of 'mediaStreams' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.
 MultiMediaCall getMultiMediaCall()
          This method is used to retrieve the MultiMediaCall, associated with this event.
 DataSessionQosClass getQualityOfService()
          This method is used to retrieve the parameter value of 'qualityOfService' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.
 MediaStreamEventType getType()
          This method is used to retrieve the parameter value of 'type' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportMediaNotificationEvent

public ReportMediaNotificationEvent(java.lang.Object source,
                                    MultiMediaCall interfaceRef,
                                    MultiMediaCallLeg[] callLegReferenceSet,
                                    MediaStream[] mediaStreams,
                                    MediaStreamEventType type,
                                    DataSessionQosClass qualityOfService)
Constructor for the ReportMediaNotificationEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getMultiMediaCall

public MultiMediaCall getMultiMediaCall()
This method is used to retrieve the MultiMediaCall, associated with this event.

Returns:
The MultiMediaCall associated with this event.

getCallLegReferenceSet

public MultiMediaCallLeg[] getCallLegReferenceSet()
This method is used to retrieve the parameter value of 'callLegReferenceSet' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.

Returns:
The value of 'callLegReferenceSet' used on creation of this event.

getMediaStreams

public MediaStream[] getMediaStreams()
This method is used to retrieve the parameter value of 'mediaStreams' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.

Returns:
The value of 'mediaStreams' used on creation of this event.

getType

public MediaStreamEventType getType()
This method is used to retrieve the parameter value of 'type' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.

Returns:
The value of 'type' used on creation of this event.

getQualityOfService

public DataSessionQosClass getQualityOfService()
This method is used to retrieve the parameter value of 'qualityOfService' passed up from the Gateway in it's call to the reportMediaNotification() method, used on the creation of this event.

Returns:
The value of 'qualityOfService' used on creation of this event.