Click or drag to resize

WaitSet Class

A WaitSet object allows an application to wait until one or more of the attached Condition objects has a TriggerValue of or else until the timeout expires.
Inheritance Hierarchy
SystemObject
  OpenDDSharp.DDSWaitSet

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public class WaitSet

The WaitSet type exposes the following members.

Constructors
  NameDescription
Public methodWaitSet
Creates a new instance of WaitSet
Top
Methods
  NameDescription
Public methodAttachCondition
Attaches a Condition to the WaitSet.
Public methodDetachCondition
Detaches a Condition from the WaitSet.
Public methodDetachConditions
Convenience method for detaching multiple conditions, for example when shutting down.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetConditions
Retrieves the list of attached conditions.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWait(ICollectionCondition)

This operation allows an application thread to wait for the occurrence of certain conditions. If none of the conditions attached to the WaitSet have a TriggerValue of , the wait operation will block suspending the calling thread.

The wait operation will wait infinite time for the conditions.

Public methodWait(ICollectionCondition, Duration)
This operation allows an application thread to wait for the occurrence of certain conditions. If none of the conditions attached to the WaitSet have a TriggerValue of , the wait operation will block suspending the calling thread.
Top
Remarks
WaitSet has no factory. This is because it is not necessarily associated with a single DomainParticipant and could be used to wait on Condition objects associated with different DomainParticipant objects.
See Also