openr66.context
Enum R66FiniteDualStates

java.lang.Object
  extended by java.lang.Enum<R66FiniteDualStates>
      extended by openr66.context.R66FiniteDualStates
All Implemented Interfaces:
Serializable, Comparable<R66FiniteDualStates>

public enum R66FiniteDualStates
extends Enum<R66FiniteDualStates>

Finite Dual State Machine for OpenR66 (Requester=R, requesteD=D, Sender=S, Receive=R)

Author:
Frederic Bregier

Enum Constant Summary
AUTHENTD
           
AUTHENTR
           
BUSINESSD
           
BUSINESSR
           
CLOSEDCHANNEL
           
DATAR
           
DATAS
           
ENDREQUESTR
           
ENDREQUESTS
           
ENDTRANSFERR
           
ENDTRANSFERS
           
ERROR
           
INFORMATION
           
OPENEDCHANNEL
           
REQUESTD
           
REQUESTR
           
SHUTDOWN
           
STARTUP
           
TEST
           
VALID
           
VALIDOTHER
           
 
Method Summary
static void endSessionMachineSate(goldengate.common.state.MachineState<R66FiniteDualStates> machine)
           
static void initR66FiniteStates()
          This method should be called once at startup to initialize the Finite States association.
static goldengate.common.state.MachineState<R66FiniteDualStates> newSessionMachineState()
           
static R66FiniteDualStates valueOf(String name)
          Returns the enum constant of this type with the specified name.
static R66FiniteDualStates[] 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

OPENEDCHANNEL

public static final R66FiniteDualStates OPENEDCHANNEL

CLOSEDCHANNEL

public static final R66FiniteDualStates CLOSEDCHANNEL

ERROR

public static final R66FiniteDualStates ERROR

STARTUP

public static final R66FiniteDualStates STARTUP

AUTHENTR

public static final R66FiniteDualStates AUTHENTR

AUTHENTD

public static final R66FiniteDualStates AUTHENTD

REQUESTR

public static final R66FiniteDualStates REQUESTR

REQUESTD

public static final R66FiniteDualStates REQUESTD

VALID

public static final R66FiniteDualStates VALID

DATAR

public static final R66FiniteDualStates DATAR

DATAS

public static final R66FiniteDualStates DATAS

ENDTRANSFERR

public static final R66FiniteDualStates ENDTRANSFERR

ENDREQUESTR

public static final R66FiniteDualStates ENDREQUESTR

ENDTRANSFERS

public static final R66FiniteDualStates ENDTRANSFERS

ENDREQUESTS

public static final R66FiniteDualStates ENDREQUESTS

TEST

public static final R66FiniteDualStates TEST

INFORMATION

public static final R66FiniteDualStates INFORMATION

VALIDOTHER

public static final R66FiniteDualStates VALIDOTHER

SHUTDOWN

public static final R66FiniteDualStates SHUTDOWN

BUSINESSR

public static final R66FiniteDualStates BUSINESSR

BUSINESSD

public static final R66FiniteDualStates BUSINESSD
Method Detail

values

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

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

valueOf

public static R66FiniteDualStates 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

initR66FiniteStates

public static void initR66FiniteStates()
This method should be called once at startup to initialize the Finite States association.


newSessionMachineState

public static goldengate.common.state.MachineState<R66FiniteDualStates> newSessionMachineState()
Returns:
a new Session MachineState for OpenR66

endSessionMachineSate

public static void endSessionMachineSate(goldengate.common.state.MachineState<R66FiniteDualStates> machine)
Parameters:
machine - the Session MachineState to release


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