org.hd.d.pg2k.svrCore.datasource
Enum ExhibitDataTunnelSource.RawPacket.OpCode

java.lang.Object
  extended by java.lang.Enum<ExhibitDataTunnelSource.RawPacket.OpCode>
      extended by org.hd.d.pg2k.svrCore.datasource.ExhibitDataTunnelSource.RawPacket.OpCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExhibitDataTunnelSource.RawPacket.OpCode>
Enclosing class:
ExhibitDataTunnelSource.RawPacket

public static enum ExhibitDataTunnelSource.RawPacket.OpCode
extends java.lang.Enum<ExhibitDataTunnelSource.RawPacket.OpCode>


Nested Class Summary
private static class ExhibitDataTunnelSource.RawPacket.OpCode.LookupCache
          Constant-time lookup from (unsigned) byte value to enum.
 
Enum Constant Summary
GetAllExhibitImmutableData
           
GetAllExhibitProperties
           
GetAllExhibitPropertiesDiff
           
GetEventValues
           
GetGenProps
           
GetGenSecProps
           
GetRawFile
           
GetStaticAttr
           
GetStratum
           
GetThumbnails
           
GetVariable
           
GetVariables
           
INTEX
           
NOOP
           
PGMNISEX
           
REMEX
           
RUNTEX
           
SetVariables
           
SyncVariables
           
 
Field Summary
private  byte code
          The byte code; normal values are small and positive.
 
Method Summary
 byte getCode()
          Get the "closeness" factor higher meaning closer; strictly positive.
static ExhibitDataTunnelSource.RawPacket.OpCode lookupCode(byte code)
          Look up from byte to enum value, else null if no matching enum value.
static ExhibitDataTunnelSource.RawPacket.OpCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExhibitDataTunnelSource.RawPacket.OpCode[] 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

NOOP

public static final ExhibitDataTunnelSource.RawPacket.OpCode NOOP

GetGenProps

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetGenProps

GetAllExhibitImmutableData

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetAllExhibitImmutableData

GetStaticAttr

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetStaticAttr

GetRawFile

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetRawFile

GetGenSecProps

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetGenSecProps

GetAllExhibitProperties

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetAllExhibitProperties

GetAllExhibitPropertiesDiff

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetAllExhibitPropertiesDiff

GetThumbnails

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetThumbnails

GetVariable

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetVariable

GetVariables

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetVariables

SetVariables

public static final ExhibitDataTunnelSource.RawPacket.OpCode SetVariables

SyncVariables

public static final ExhibitDataTunnelSource.RawPacket.OpCode SyncVariables

GetEventValues

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetEventValues

GetStratum

public static final ExhibitDataTunnelSource.RawPacket.OpCode GetStratum

INTEX

public static final ExhibitDataTunnelSource.RawPacket.OpCode INTEX

PGMNISEX

public static final ExhibitDataTunnelSource.RawPacket.OpCode PGMNISEX

REMEX

public static final ExhibitDataTunnelSource.RawPacket.OpCode REMEX

RUNTEX

public static final ExhibitDataTunnelSource.RawPacket.OpCode RUNTEX
Field Detail

code

private final byte code
The byte code; normal values are small and positive. We try to maintain a good Hamming distance between any two codes.

Method Detail

values

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

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

valueOf

public static ExhibitDataTunnelSource.RawPacket.OpCode 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

getCode

public final byte getCode()
Get the "closeness" factor higher meaning closer; strictly positive.


lookupCode

public static ExhibitDataTunnelSource.RawPacket.OpCode lookupCode(byte code)
Look up from byte to enum value, else null if no matching enum value.


DHD Multimedia Gallery V1.57.21

Copyright (c) 1996-2011, Damon Hart-Davis. All rights reserved.