f00f.net.irc.martyr
Class State

java.lang.Object
  extended by f00f.net.irc.martyr.State

public class State
extends java.lang.Object

A simple container for state constants. The state constants here are used to specify what state the protocol is in. The State object is both the state representitive and the state container. This was done so that state could be typesafe and valuesafe.


Field Summary
static State REGISTERED
           
static State UNCONNECTED
           
static State UNKNOWN
           
static State UNREGISTERED
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCONNECTED

public static final State UNCONNECTED

UNREGISTERED

public static final State UNREGISTERED

REGISTERED

public static final State REGISTERED

UNKNOWN

public static final State UNKNOWN
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.