Sun Adapter for TCP/IP HL7

com.stc.connector.tcpip.model.state
Class NonPersistentStateHandlerImpl

java.lang.Object
  extended by com.stc.connector.tcpip.model.state.NonPersistentStateHandlerImpl
All Implemented Interfaces:
StateHandler

public class NonPersistentStateHandlerImpl
extends java.lang.Object
implements StateHandler

It is a Non-Persistent StateHandler implementation. It holds state as a variable. The lifecycle of the state is determined by the object which this StateHandler is attached to.

Version:
cvs revision: $Revision: 1.4 $ Last Modified: $Date: 2005/09/03 06:33:21 $
Author:
Harry Liu

Field Summary
static java.lang.String version
           
 
Constructor Summary
NonPersistentStateHandlerImpl()
          Constructor for NonPersistentStateHandlerImpl.
 
Method Summary
 State getState()
          Returns the State.
 void setState(State state)
          Sets the State.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
See Also:
Constant Field Values
Constructor Detail

NonPersistentStateHandlerImpl

public NonPersistentStateHandlerImpl()
Constructor for NonPersistentStateHandlerImpl.

Method Detail

getState

public State getState()
               throws java.lang.Exception
Description copied from interface: StateHandler
Returns the State.

Specified by:
getState in interface StateHandler
Returns:
State
Throws:
java.lang.Exception - on error
See Also:
StateHandler.getState()

setState

public void setState(State state)
              throws java.lang.Exception
Description copied from interface: StateHandler
Sets the State.

Specified by:
setState in interface StateHandler
Parameters:
state - to set
Throws:
java.lang.Exception - on error
See Also:
StateHandler.setState(State)

Sun Adapter for TCP/IP HL7