openr66.protocol.localhandler.packet
Enum RequestPacket.TRANSFERMODE

java.lang.Object
  extended by java.lang.Enum<RequestPacket.TRANSFERMODE>
      extended by openr66.protocol.localhandler.packet.RequestPacket.TRANSFERMODE
All Implemented Interfaces:
Serializable, Comparable<RequestPacket.TRANSFERMODE>
Enclosing class:
RequestPacket

public static enum RequestPacket.TRANSFERMODE
extends Enum<RequestPacket.TRANSFERMODE>


Enum Constant Summary
RECVMD5MODE
           
RECVMD5THROUGHMODE
           
RECVMODE
           
RECVTHROUGHMODE
           
SENDMD5MODE
           
SENDMD5THROUGHMODE
           
SENDMODE
           
SENDTHROUGHMODE
           
UNKNOWNMODE
           
 
Method Summary
static RequestPacket.TRANSFERMODE valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RequestPacket.TRANSFERMODE[] 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

UNKNOWNMODE

public static final RequestPacket.TRANSFERMODE UNKNOWNMODE

SENDMODE

public static final RequestPacket.TRANSFERMODE SENDMODE

RECVMODE

public static final RequestPacket.TRANSFERMODE RECVMODE

SENDMD5MODE

public static final RequestPacket.TRANSFERMODE SENDMD5MODE

RECVMD5MODE

public static final RequestPacket.TRANSFERMODE RECVMD5MODE

SENDTHROUGHMODE

public static final RequestPacket.TRANSFERMODE SENDTHROUGHMODE

RECVTHROUGHMODE

public static final RequestPacket.TRANSFERMODE RECVTHROUGHMODE

SENDMD5THROUGHMODE

public static final RequestPacket.TRANSFERMODE SENDMD5THROUGHMODE

RECVMD5THROUGHMODE

public static final RequestPacket.TRANSFERMODE RECVMD5THROUGHMODE
Method Detail

values

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

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

valueOf

public static RequestPacket.TRANSFERMODE 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


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.