org.jnetpcap.protocol.voip
Enum Sdp.Fields

java.lang.Object
  extended by java.lang.Enum<Sdp.Fields>
      extended by org.jnetpcap.protocol.voip.Sdp.Fields
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Sdp.Fields>
Enclosing class:
Sdp

@Field
public static enum Sdp.Fields
extends java.lang.Enum<Sdp.Fields>

A table of various fields for SDP protocol.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
ConnectionInfo
          Connection info field.
Media
          Media field.
Owner
          Owner field.
SessionName
          Session name field.
Time
          Time field.
Version
          Version field.
 
Method Summary
static Sdp.Fields valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Sdp.Fields[] 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

ConnectionInfo

public static final Sdp.Fields ConnectionInfo
Connection info field.


Media

public static final Sdp.Fields Media
Media field.


Owner

public static final Sdp.Fields Owner
Owner field.


SessionName

public static final Sdp.Fields SessionName
Session name field.


Time

public static final Sdp.Fields Time
Time field.


Version

public static final Sdp.Fields Version
Version field.

Method Detail

values

public static Sdp.Fields[] 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 (Sdp.Fields c : Sdp.Fields.values())
    System.out.println(c);

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

valueOf

public static Sdp.Fields valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null