com.jpeterson.x10
Class GatewayState

java.lang.Object
  |
  +--com.jpeterson.x10.GatewayState

public class GatewayState
extends java.lang.Object

Contains the value of the gateway state.


Constructor Summary
GatewayState()
          Create a new GatewayState object.
 
Method Summary
 long getState()
          Get the gateway state.
 void setState(long state)
          Set the gateway state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayState

public GatewayState()
Create a new GatewayState object. Initial state is set to zero.
Method Detail

setState

public void setState(long state)
Set the gateway state.
Parameters:
state - the new state

getState

public long getState()
Get the gateway state.
Returns:
The current state