|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableServer.POAManagerPackage.State
public class State
Defines the possible states of the POA manager. This enumeration can obtain the following values:
TRANSIENT system exception, with standard
minor code 1. This mode is needed for flow control, when the system is
flooded with requests.
| Field Summary | |
|---|---|
static int |
_ACTIVE
The possible value of this enumeration (ACTIVE). |
static int |
_DISCARDING
The possible value of this enumeration (DISCARDING). |
static int |
_HOLDING
The possible value of this enumeration (HOLDING). |
static int |
_INACTIVE
The possible value of this enumeration (INACTIVE). |
static State |
ACTIVE
An instance of State, initialized to ACTIVE. |
static State |
DISCARDING
An instance of State, initialized to DISCARDING. |
static State |
HOLDING
An instance of State, initialized to HOLDING. |
static State |
INACTIVE
An instance of State, initialized to INACTIVE. |
| Constructor Summary | |
|---|---|
protected |
State(int a_value)
Normally, no new instances are required, so the constructor is protected. |
| Method Summary | |
|---|---|
static State |
from_int(int code)
Returns the State, matching the given integer constant. |
String |
toString()
Returns a short string representation. |
int |
value()
Returns the integer code of the enumeration value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _HOLDING
public static final State HOLDING
public static final int _ACTIVE
public static final State ACTIVE
public static final int _DISCARDING
public static final State DISCARDING
public static final int _INACTIVE
public static final State INACTIVE
| Constructor Detail |
|---|
protected State(int a_value)
| Method Detail |
|---|
public static State from_int(int code)
code - one of _HOLDING, _ACTIVE, _DISCARDING, _INACTIVE.
BAD_PARAM - if the parameter is not one of the valid values.public String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public int value()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||