Unsubscribed Event

Fired when the class has unsubscribed from a message destination on the server.

Syntax

ANSI (Cross Platform)
virtual int FireUnsubscribed(STOMPUnsubscribedEventParams *e);
typedef struct {
const char *Id;
const char *Destination; int reserved; } STOMPUnsubscribedEventParams; Unicode (Windows) virtual INT FireUnsubscribed(STOMPUnsubscribedEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR Destination; INT reserved; } STOMPUnsubscribedEventParams;
- (void)onUnsubscribed:(NSString*)id :(NSString*)destination;
#define EID_STOMP_UNSUBSCRIBED 14

virtual INT IPWORKSMQ_CALL FireUnsubscribed(LPSTR &lpszId, LPSTR &lpszDestination);

Remarks

This event fires each time the class has unsubscribed from a message destination on the server. The following parameters are available within this event:

  • Id: The Id that was used to identify the subscription.
  • Destination: The message destination on the server which the subscription was associated with.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]