org.jnetpcap.protocol.network
Enum Rip.Command

java.lang.Object
  extended by java.lang.Enum<Rip.Command>
      extended by org.jnetpcap.protocol.network.Rip.Command
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Rip.Command>
Enclosing class:
Rip

public static enum Rip.Command
extends java.lang.Enum<Rip.Command>

Valid values for RIP OpCode field.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Enum Constant Summary
REPLY
          The REPLY.
REQUEST
          The REQUEST.
SUN
          The SUN.
TRACE_OFF
          The TRAC e_ off.
TRACE_ON
          The TRAC e_ on.
TRIGGERED_ACK
          The TRIGGERE d_ ack.
TRIGGERED_REQUEST
          The TRIGGERE d_ request.
TRIGGERED_RESPONSE
          The TRIGGERE d_ response.
UPDATE_ACK
          The UPDAT e_ ack.
UPDATE_REQUEST
          The UPDAT e_ request.
UPDATE_RESPONSE
          The UPDAT e_ response.
 
Method Summary
static Rip.Command valueOf(int value)
          Value of.
static Rip.Command valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Rip.Command[] 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

REQUEST

public static final Rip.Command REQUEST
The REQUEST.


REPLY

public static final Rip.Command REPLY
The REPLY.


TRACE_ON

public static final Rip.Command TRACE_ON
The TRAC e_ on.


TRACE_OFF

public static final Rip.Command TRACE_OFF
The TRAC e_ off.


SUN

public static final Rip.Command SUN
The SUN.


TRIGGERED_REQUEST

public static final Rip.Command TRIGGERED_REQUEST
The TRIGGERE d_ request.


TRIGGERED_RESPONSE

public static final Rip.Command TRIGGERED_RESPONSE
The TRIGGERE d_ response.


TRIGGERED_ACK

public static final Rip.Command TRIGGERED_ACK
The TRIGGERE d_ ack.


UPDATE_REQUEST

public static final Rip.Command UPDATE_REQUEST
The UPDAT e_ request.


UPDATE_RESPONSE

public static final Rip.Command UPDATE_RESPONSE
The UPDAT e_ response.


UPDATE_ACK

public static final Rip.Command UPDATE_ACK
The UPDAT e_ ack.

Method Detail

values

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

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

valueOf

public static Rip.Command 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

valueOf

public static Rip.Command valueOf(int value)
Value of.

Parameters:
value - the value
Returns:
the command