org.omg.PortableServer.POAManagerPackage
public class State extends Object implements Serializable, IDLEntity
TRANSIENT
system exception, with standard
minor code 1. This mode is needed for flow control, when the system is
flooded with requests.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
protected |
State(int a_value)
Normally, no new instances are required, so the constructor is protected.
|
public static final int _HOLDING
public static final int _ACTIVE
public static final int _DISCARDING
public static final State DISCARDING
public static final int _INACTIVE
protected State(int a_value)
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 Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
public int value()