OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.WaitSetImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.WaitSetImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.WaitSetImpl:
Collaboration graph

Public Member Functions

 WaitSetImpl (OsplServiceEnvironment environment)
 
void attachCondition (Condition cond)
 
void detachCondition (Condition cond)
 
Collection< ConditiongetConditions ()
 
ServiceEnvironment getEnvironment ()
 
String toString ()
 
void waitForConditions ()
 
void waitForConditions (Collection< Condition > activeConditions)
 
void waitForConditions (Duration timeout) throws TimeoutException
 
void waitForConditions (long timeout, TimeUnit unit) throws TimeoutException
 
void waitForConditions (Collection< Condition > activeConditions, Duration timeout) throws TimeoutException
 
void waitForConditions (Collection< Condition > activeConditions, long timeout, TimeUnit unit) throws TimeoutException
 

Static Public Member Functions

static WaitSet newWaitSet (ServiceEnvironment env)
 Creates a new WaitSet object to be used in the application. More...
 

Detailed Description

Definition at line 34 of file WaitSetImpl.java.

Constructor & Destructor Documentation

◆ WaitSetImpl()

org.opensplice.dds.core.WaitSetImpl.WaitSetImpl ( OsplServiceEnvironment  environment)

Definition at line 39 of file WaitSetImpl.java.

Member Function Documentation

◆ attachCondition()

void org.opensplice.dds.core.WaitSetImpl.attachCondition ( Condition  cond)

Definition at line 139 of file WaitSetImpl.java.

◆ detachCondition()

void org.opensplice.dds.core.WaitSetImpl.detachCondition ( Condition  cond)

Definition at line 162 of file WaitSetImpl.java.

◆ getConditions()

Collection<Condition> org.opensplice.dds.core.WaitSetImpl.getConditions ( )

Definition at line 185 of file WaitSetImpl.java.

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.core.WaitSetImpl.getEnvironment ( )
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 46 of file WaitSetImpl.java.

◆ newWaitSet()

static WaitSet org.omg.dds.core.WaitSet.newWaitSet ( ServiceEnvironment  env)
staticinherited

Creates a new WaitSet object to be used in the application.

Parameters
envIdentifies the Service instance to which the new object will belong.

Definition at line 127 of file WaitSet.java.

◆ toString()

String org.opensplice.dds.core.WaitSetImpl.toString ( )

Definition at line 190 of file WaitSetImpl.java.

◆ waitForConditions() [1/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( )

Definition at line 51 of file WaitSetImpl.java.

◆ waitForConditions() [2/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( Collection< Condition activeConditions)

Definition at line 62 of file WaitSetImpl.java.

◆ waitForConditions() [3/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( Duration  timeout) throws TimeoutException

Definition at line 82 of file WaitSetImpl.java.

◆ waitForConditions() [4/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( long  timeout,
TimeUnit  unit 
) throws TimeoutException

Definition at line 98 of file WaitSetImpl.java.

◆ waitForConditions() [5/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( Collection< Condition activeConditions,
Duration  timeout 
) throws TimeoutException

Definition at line 105 of file WaitSetImpl.java.

◆ waitForConditions() [6/6]

void org.opensplice.dds.core.WaitSetImpl.waitForConditions ( Collection< Condition activeConditions,
long  timeout,
TimeUnit  unit 
) throws TimeoutException

Definition at line 131 of file WaitSetImpl.java.


The documentation for this class was generated from the following file: