public abstract class Status extends Object implements Serializable, DDSObject
Entity
is associated with a set of Status objects
whose value represents the "communication status" of that entity. These
status values can be accessed with corresponding methods on the Entity.
The changes on these status values are the ones that both cause activation
of the corresponding StatusCondition
objects and trigger invocation
of the proper Listener objects to asynchronously inform the application.StatusChangedEvent
,
Serialized FormConstructor and Description |
---|
Status() |
Modifier and Type | Method and Description |
---|---|
static Set<Class<? extends Status>> |
allStatuses(ServiceEnvironment env) |
static Set<Class<? extends Status>> |
noStatuses(ServiceEnvironment env) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnvironment
public static Set<Class<? extends Status>> allStatuses(ServiceEnvironment env)
env
- Identifies the Service instance to which the
object will belong.public static Set<Class<? extends Status>> noStatuses(ServiceEnvironment env)
env
- Identifies the Service instance to which the
object will belong.Copyright © 2014. All rights reserved.