Publish Method (DALPSConnection)
- Last UpdatedApr 08, 2026
- 1 minute read
Publishes data on a PubSub topic.
public void Publish(
string topic,
DALPSConnection.DALPSCommandDelegate delegateMethod,
object clientObject,
PubSubBuffer valueBuffer,
PubSubHeaderData psHeaderData,
string securityGroup,
PubSubSecurityFlag securityFlag
)
public:
void Publish(
String^ topic,
DALPSConnection.DALPSCommandDelegate^ delegateMethod,
Object^ clientObject,
PubSubBuffer^ valueBuffer,
PubSubHeaderData psHeaderData,
String^ securityGroup,
PubSubSecurityFlag securityFlag
)
Parameters
- topic
- The topic to publish on.
- delegateMethod
- The callback to return the status of the Publish command.
- clientObject
- The reference to the client object.
- valueBuffer
- The data to publish on the topic.
- psHeaderData
- The header specifying special routing instructions (default OASySDNA.Common.PubSub.PubSubHeaderData.PS_NORMAL_DATA).
- securityGroup
- The security group that can receive this (default "").
- securityFlag
- The type of security (WINDOWS / SCADA) used (default OASySDNA.Common.PubSub.PubSubSecurityFlag.PS_WINDOWS).