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

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

public class MediaStreamMonitorResEvent
extends ResourceEvent

This event is used to inform the application about the media streams that are being established (added) or subtracted. If the corresponding request was done in interrupt mode, the application has to allow or deny the media streams using mediaStreamAllow().

See Also:
Serialized Form

Constructor Summary
MediaStreamMonitorResEvent(TpServiceIdentifier tpServiceIdentifier, int callLegSessionID, TpMediaStream[] streams, TpMediaStreamEventType type)
          Constructor for MediaStreamMonitorResEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getCallLegSessionID()
          Returns the callLegSessionID
 TpMediaStream[] getStreams()
          Returns the streams
 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

MediaStreamMonitorResEvent

public MediaStreamMonitorResEvent(TpServiceIdentifier tpServiceIdentifier,
                                  int callLegSessionID,
                                  TpMediaStream[] streams,
                                  TpMediaStreamEventType type)
Constructor for MediaStreamMonitorResEvent

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

getCallLegSessionID

public int getCallLegSessionID()
Returns the callLegSessionID


getStreams

public TpMediaStream[] getStreams()
Returns the streams


getType

public TpMediaStreamEventType getType()
Returns the type


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 © 2009. All Rights Reserved.