Click or drag to resize

PublisherSuspendPublications Method

This operation indicates to DDS that the application is about to make multiple modifications using DataWriter objects belonging to the Publisher. It is a hint to DDS so it can optimize its performance by e.g., holding the dissemination of the modifications and then batching them.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version:
public ReturnCode SuspendPublications()

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
The use of this operation must be matched by a corresponding call to ResumePublications indicating that the set of modifications has completed. If the Publisher is deleted before ResumePublications is called, any suspended updates yet to be published will be discarded.
See Also