org.mobicents.csapi.jr.slee.cc.mmccs
Class ReportMediaNotificationEvent

java.lang.Object
  extended by org.mobicents.csapi.jr.slee.ResourceEvent
      extended by org.mobicents.csapi.jr.slee.cc.mmccs.ReportMediaNotificationEvent
All Implemented Interfaces:
java.io.Serializable

public class ReportMediaNotificationEvent
extends ResourceEvent

This event is used to inform the application about the establishment of media streams. If the corresponding monitor was in interrupt mode, then the application has to allow or deny the streams using mediaStreamAllow() method. If the application has previously explicitly passed a reference to the callback using a setCallbackWithSessionID() invocation, this parameter may be P_APP_CALLBACK_UNDEFINED, or if supplied must be the same as that provided during the setCallbackWithSessionID().

See Also:
Serialized Form

Constructor Summary
ReportMediaNotificationEvent(TpServiceIdentifier tpServiceIdentifier, TpMultiMediaCallIdentifier callReference, TpMultiMediaCallLegIdentifier[] callLegReferenceSet, TpMediaStream[] mediaStreams, TpMediaStreamEventType type, int assignmentID)
          Constructor for ReportMediaNotificationEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getAssignmentID()
          Returns the assignmentID
 TpMultiMediaCallLegIdentifier[] getCallLegReferenceSet()
          Returns the callLegReferenceSet
 TpMultiMediaCallIdentifier getCallReference()
          Returns the callReference
 TpMediaStream[] getMediaStreams()
          Returns the mediaStreams
 TpMediaStreamEventType getType()
          Returns the type
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class org.mobicents.csapi.jr.slee.ResourceEvent
getService
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportMediaNotificationEvent

public ReportMediaNotificationEvent(TpServiceIdentifier tpServiceIdentifier,
                                    TpMultiMediaCallIdentifier callReference,
                                    TpMultiMediaCallLegIdentifier[] callLegReferenceSet,
                                    TpMediaStream[] mediaStreams,
                                    TpMediaStreamEventType type,
                                    int assignmentID)
Constructor for ReportMediaNotificationEvent

Parameters:
tpServiceIdentifier - the service this event is related to
Method Detail

getCallReference

public TpMultiMediaCallIdentifier getCallReference()
Returns the callReference


getCallLegReferenceSet

public TpMultiMediaCallLegIdentifier[] getCallLegReferenceSet()
Returns the callLegReferenceSet


getMediaStreams

public TpMediaStream[] getMediaStreams()
Returns the mediaStreams


getType

public TpMediaStreamEventType getType()
Returns the type


getAssignmentID

public int getAssignmentID()
Returns the assignmentID


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.