|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jrun.jms.core.client.JmsConnectionState
This class defines the various states of a connection stopped the connection is open but not running running the connection is open and running closed the connection is closed
| Field Summary | |
static JmsConnectionState |
CLOSED
|
static JmsConnectionState |
RUNNING
|
static JmsConnectionState |
STOPPED
Instatiate instances related to each of the enumerations |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Return true if the two specified object is of the same type and their ordinal values are the same. |
int |
getOrd()
Returns the ordinal value for this state |
boolean |
isClosed()
Return true if this object represents the 'closed' state and false otherwise |
boolean |
isRunning()
Return true if this object represents the 'running' state and false otherwise |
boolean |
isStopped()
Return true if this object represents the 'stopped' state and false otherwise |
static int |
size()
Returns the number of states in this enumeration |
java.lang.String |
toString()
Returns the name of this state |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final JmsConnectionState STOPPED
public static final JmsConnectionState RUNNING
public static final JmsConnectionState CLOSED
| Method Detail |
public int getOrd()
public java.lang.String toString()
toString in class java.lang.Objectpublic static int size()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - object to compare againstpublic boolean isRunning()
public boolean isStopped()
public boolean isClosed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||