f00f.net.irc.martyr
Class State
java.lang.Object
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.
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNCONNECTED
public static final State UNCONNECTED
UNREGISTERED
public static final State UNREGISTERED
REGISTERED
public static final State REGISTERED
UNKNOWN
public static final State UNKNOWN
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.