org.red5.server.net.rtp.rtcp
Enum RTCPPacket.Type

java.lang.Object
  extended by java.lang.Enum<RTCPPacket.Type>
      extended by org.red5.server.net.rtp.rtcp.RTCPPacket.Type
All Implemented Interfaces:
Serializable, Comparable<RTCPPacket.Type>
Enclosing class:
RTCPPacket

public static enum RTCPPacket.Type
extends Enum<RTCPPacket.Type>


Enum Constant Summary
APP
          Application specific
BYE
          End of participation
NONE
           
RR
          Receiver Report
SDES
          Source description
SR
          Sender Report
 
Method Summary
 UnsignedByte getValue()
           
static RTCPPacket.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RTCPPacket.Type valueOf(UnsignedByte value)
           
static RTCPPacket.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SR

public static final RTCPPacket.Type SR
Sender Report


RR

public static final RTCPPacket.Type RR
Receiver Report


SDES

public static final RTCPPacket.Type SDES
Source description


BYE

public static final RTCPPacket.Type BYE
End of participation


APP

public static final RTCPPacket.Type APP
Application specific


NONE

public static final RTCPPacket.Type NONE
Method Detail

values

public static RTCPPacket.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RTCPPacket.Type c : RTCPPacket.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RTCPPacket.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static RTCPPacket.Type valueOf(UnsignedByte value)

getValue

public UnsignedByte getValue()


Copyright © 2006-2009 The Red5 Project