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

java.lang.Object
  |
  +--org.csapi.jr.se.cc.mmccs.MediaStreamDirection
All Implemented Interfaces:
java.io.Serializable

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

Defines the direction in which the media stream is established (as seen from the leg).

See Also:
Serialized Form

Field Summary
static int _RECEIVE_ONLY
          Indicates that the offerer is only willing to receive this media stream
static int _SEND_ONLY
          Indicates that the offerer is only willing to send this media stream
static int _SEND_RECEIVE
          Indicates that the offerer is willing to send and receive this media stream
static org.csapi.jr.se.cc.mmccs.MediaStreamDirection RECEIVE_ONLY
          Indicates that the offerer is only willing to receive this media stream
static org.csapi.jr.se.cc.mmccs.MediaStreamDirection SEND_ONLY
          Indicates that the offerer is only willing to send this media stream
static org.csapi.jr.se.cc.mmccs.MediaStreamDirection SEND_RECEIVE
          Indicates that the offerer is willing to send and receive this media stream
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static org.csapi.jr.se.cc.mmccs.MediaStreamDirection 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
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_SEND_ONLY

public static final int _SEND_ONLY
Indicates that the offerer is only willing to send this media stream

See Also:
Constant Field Values

SEND_ONLY

public static final org.csapi.jr.se.cc.mmccs.MediaStreamDirection SEND_ONLY
Indicates that the offerer is only willing to send this media stream


_RECEIVE_ONLY

public static final int _RECEIVE_ONLY
Indicates that the offerer is only willing to receive this media stream

See Also:
Constant Field Values

RECEIVE_ONLY

public static final org.csapi.jr.se.cc.mmccs.MediaStreamDirection RECEIVE_ONLY
Indicates that the offerer is only willing to receive this media stream


_SEND_RECEIVE

public static final int _SEND_RECEIVE
Indicates that the offerer is willing to send and receive this media stream

See Also:
Constant Field Values

SEND_RECEIVE

public static final org.csapi.jr.se.cc.mmccs.MediaStreamDirection SEND_RECEIVE
Indicates that the offerer is willing to send and receive this 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 MediaStreamDirection object

getObject

public static org.csapi.jr.se.cc.mmccs.MediaStreamDirection 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.

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