org.omg.dds.core.status
Class Status<SELF extends Status<SELF,SOURCE>,SOURCE extends Entity<SOURCE,?,?>>

java.lang.Object
  extended by java.util.EventObject
      extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected Status(SOURCE source)
           
 
Method Summary
static java.util.Set<java.lang.Class<? extends Status<?,?>>> allStatuses(Bootstrap bootstrap)
           
abstract  SELF clone()
          Extends the concept of "cloneable" defined in java.lang by providing an explicit public Value.clone() method.
abstract  SOURCE getSource()
           
static java.util.Set<java.lang.Class<? extends Status<?,?>>> noStatuses(Bootstrap bootstrap)
           
protected  void setSource(SOURCE 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
 
Methods inherited from interface org.omg.dds.core.modifiable.ModifiableValue
copyFrom, finishModification
 
Methods inherited from interface org.omg.dds.core.Value
equals, hashCode, modify
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Constructor Detail

Status

protected Status(SOURCE source)
Method Detail

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.