org.omg.dds.core
Interface StatusCondition<ENTITY extends Entity<ENTITY,?,?>>

Type Parameters:
ENTITY - The type of the entity with which this condition is associated.
All Superinterfaces:
Condition, DDSObject

public interface StatusCondition<ENTITY extends Entity<ENTITY,?,?>>
extends Condition

A StatusCondition object is a specific Condition that is associated with each Entity. The triggerValue of the StatusCondition depends on the communication status of that entity (e.g., arrival of data, loss of information, etc.), "filtered" by the set of enabledStatuses on the StatusCondition.


Method Summary
 java.util.Collection<java.lang.Class<? extends Status<?,?>>> getEnabledStatuses(java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
           
 ENTITY getEntity()
           
 void setEnabledStatuses(java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
           
 
Methods inherited from interface org.omg.dds.core.Condition
getTriggerValue
 
Methods inherited from interface org.omg.dds.core.DDSObject
getBootstrap
 

Method Detail

getEnabledStatuses

java.util.Collection<java.lang.Class<? extends Status<?,?>>> getEnabledStatuses(java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)

setEnabledStatuses

void setEnabledStatuses(java.util.Collection<java.lang.Class<? extends Status<?,?>>> statuses)
Parameters:
statuses - For which status changes the condition should trigger. A null collection signifies all status changes.

getEntity

ENTITY getEntity()


Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.