Subscribed Event
Fired when the class has subscribed to a message destination on the server.
Syntax
class STOMPSubscribedEventParams { public: const QString &Id(); const QString &Destination(); bool RequireAcks(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Subscribed(STOMPSubscribedEventParams *e);
// Or, subclass STOMP and override this emitter function. virtual int FireSubscribed(STOMPSubscribedEventParams *e) {...}
Remarks
This event fires each time the class has subscribed to a message destination on the server. The following parameters are available within this event:
- Id: The Id used to identify the subscription.
- Destination: The message destination on the server which the subscription is associated with.
- RequireAcks: Whether messages the class receives as a result of the subscription will require acknowledgments to be sent back to the server.