21 package org.opensplice.dds.core;
23 import java.util.Arrays;
24 import java.util.Collection;
35 private final DDS.StatusCondition old;
36 private final T parent;
40 DDS.StatusCondition oldCondition, T parent) {
41 this.old = oldCondition;
43 this.environment = environment;
48 return this.old.get_trigger_value();
53 return this.environment;
64 this.old.get_enabled_statuses());
70 this.environment, statuses));
73 "StatusCondition.withEnabledStatuses() failed.");
89 return "StatusCondition (" + Integer.toHexString(this.hashCode()) +
")";
Set< Class<? extends Status > > getEnabledStatuses()
This operation retrieves the list of communication statuses that are taken into account to determine ...
A StatusCondition object is an immutable object that specifies Condition that is associated with each...
DDS.StatusCondition getOldCondition()
void setEnabledStatuses(Collection< Class<? extends Status >> statuses)
This operation accepts a collection of statuses that are encapsulated in a new StatusCondition object...
void setEnabledStatuses(Class<? extends Status >... statuses)
This operation accepts a variable number of statuses that are encapsulated in a new StatusCondition o...
static Set< Class<? extends Status > > convertMask(OsplServiceEnvironment environment, int state)
A Condition is a root interface for all the conditions that may be attached to a org.omg.dds.core.WaitSet.
static void checkReturnCode(int retCode, OsplServiceEnvironment environment, String message)
boolean getTriggerValue()
This class is the abstract base class for all the DCPS objects that support QoS policies, a listener and a status condition.
ServiceEnvironment getEnvironment()
DDS implementations are rooted in this class, a concrete subclass of which can be instantiated based ...
StatusConditionImpl(OsplServiceEnvironment environment, DDS.StatusCondition oldCondition, T parent)
Status is the abstract root class for all communication status objects.