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

java.lang.Object
  extended byorg.csapi.jr.se.cc.mmccs.MediaStreamEventType
All Implemented Interfaces:
java.io.Serializable

public final class MediaStreamEventType
extends java.lang.Object
implements java.io.Serializable

Defines the action performed on the media stream.

See Also:
Serialized Form

Field Summary
static int _MEDIA_STREAM_ADDED
          The media stream is added
static int _MEDIA_STREAM_QOS_CLASS_CHANGED
          A change in QoS class has taken place during the life of the media stream.
static int _MEDIA_STREAM_SUBTRACTED
          The media stream is subtracted.
static MediaStreamEventType MEDIA_STREAM_ADDED
          The media stream is added
static MediaStreamEventType MEDIA_STREAM_QOS_CLASS_CHANGED
          A change in QoS class has taken place during the life of the media stream.
static MediaStreamEventType MEDIA_STREAM_SUBTRACTED
          The media stream is subtracted.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MediaStreamEventType getObject(int value)
          Accepts values in the range of 0 to 2
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_MEDIA_STREAM_ADDED

public static final int _MEDIA_STREAM_ADDED
The media stream is added

See Also:
Constant Field Values

MEDIA_STREAM_ADDED

public static final MediaStreamEventType MEDIA_STREAM_ADDED
The media stream is added


_MEDIA_STREAM_SUBTRACTED

public static final int _MEDIA_STREAM_SUBTRACTED
The media stream is subtracted.

See Also:
Constant Field Values

MEDIA_STREAM_SUBTRACTED

public static final MediaStreamEventType MEDIA_STREAM_SUBTRACTED
The media stream is subtracted.


_MEDIA_STREAM_QOS_CLASS_CHANGED

public static final int _MEDIA_STREAM_QOS_CLASS_CHANGED
A change in QoS class has taken place during the life of the media stream.

See Also:
Constant Field Values

MEDIA_STREAM_QOS_CLASS_CHANGED

public static final MediaStreamEventType MEDIA_STREAM_QOS_CLASS_CHANGED
A change in QoS class has taken place during the life of the media stream.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the MediaStreamEventType object

getObject

public static MediaStreamEventType getObject(int value)
                                      throws InvalidEnumValueException
Accepts values in the range of 0 to 2

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

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


hashCode

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