MigratoryData Extension API
Developer's Guide and Reference Manual
|
Implementations of this interface can handle the events made available by the MigratoryData server for its extensions. More...
Public Member Functions | |
boolean | onEntitlementSubscribeCheck (String subject, String token) |
Notify that a client identified with the token given in argument demands to subscribe to the subject given in argument. More... | |
boolean | onEntitlementPublishCheck (String subject, String token) |
Notify that a client identified with the token given in argument demands to publish a message with the subject given in argument. More... | |
Implementations of this interface can handle the events made available by the MigratoryData server for its extensions.
The method exposed by this interface are always called from by same thread.
boolean MigratoryDataExtensionListener.onEntitlementSubscribeCheck | ( | String | subject, |
String | token | ||
) |
Notify that a client identified with the token given in argument demands to subscribe to the subject given in argument.
subject | The subject to be verified |
token | The token to be verified |
boolean MigratoryDataExtensionListener.onEntitlementPublishCheck | ( | String | subject, |
String | token | ||
) |
Notify that a client identified with the token given in argument demands to publish a message with the subject given in argument.
subject | The subject to be verified |
token | The token to be verified |