Subscribe Method (DALPSConnection)
- Last UpdatedApr 08, 2026
- 1 minute read
Subscribes to topic.
public void Subscribe(
string topic,
DALPSConnection.DALPSSubscripionDelegate dalPSSubscriptionDelegateMethod,
PubSubUpdateFlag updateFlag,
object clientObject
)
public:
void Subscribe(
String^ topic,
DALPSConnection.DALPSSubscripionDelegate^ dalPSSubscriptionDelegateMethod,
PubSubUpdateFlag updateFlag,
Object^ clientObject
)
Parameters
- topic
- The topic string to subscribe to.
- dalPSSubscriptionDelegateMethod
- The callback to return the status of the Subscribe command. If the command is successful, the callback will return data for the subscribed topic.
- updateFlag
- Whether or not integrity updates are required.
- clientObject
- The reference to the client object.
| Exception | Description |
|---|---|
| System.ArgumentNullException | Callback method not given. |