org.omg.dds.core.status
Class Status<SELF extends Status<SELF,SOURCE>,SOURCE extends Entity<SOURCE,?,?>>
java.lang.Object
java.util.EventObject
org.omg.dds.core.status.Status<SELF,SOURCE>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, DDSObject, ModifiableValue<SELF,SELF>, Value<SELF,SELF>
- Direct Known Subclasses:
- DataAvailableStatus, DataOnReadersStatus, InconsistentTopicStatus, LivelinessChangedStatus, LivelinessLostStatus, OfferedDeadlineMissedStatus, OfferedIncompatibleQosStatus, PublicationMatchedStatus, RequestedDeadlineMissedStatus, RequestedIncompatibleQosStatus, SampleLostStatus, SampleRejectedStatus, SubscriptionMatchedStatus
public abstract class Status<SELF extends Status<SELF,SOURCE>,SOURCE extends Entity<SOURCE,?,?>>
- extends java.util.EventObject
- implements ModifiableValue<SELF,SELF>
Status is the abstract root class for all communication status objects.
All concrete kinds of Status classes extend this class.
Each concrete 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.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
| Methods inherited from class java.util.EventObject |
toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Status
protected Status(SOURCE source)
allStatuses
public static java.util.Set<java.lang.Class<? extends Status<?,?>>> allStatuses(Bootstrap bootstrap)
- Parameters:
bootstrap - Identifies the Service instance to which the
object will belong.
noStatuses
public static java.util.Set<java.lang.Class<? extends Status<?,?>>> noStatuses(Bootstrap bootstrap)
- Parameters:
bootstrap - Identifies the Service instance to which the
object will belong.
getSource
public abstract SOURCE getSource()
- Overrides:
getSource in class java.util.EventObject
clone
public abstract SELF clone()
- Description copied from interface:
Value
- Extends the concept of "cloneable" defined in
java.lang by
providing an explicit public Value.clone() method.
- Specified by:
clone in interface ModifiableValue<SELF extends Status<SELF,SOURCE>,SELF extends Status<SELF,SOURCE>>- Specified by:
clone in interface Value<SELF extends Status<SELF,SOURCE>,SELF extends Status<SELF,SOURCE>>- Overrides:
clone in class java.lang.Object
- Returns:
- a new object that with state identical to that of this object.
setSource
protected void setSource(SOURCE source)
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.