Interface
caplin.services.messaging

PublishListener

Interface implemented by classes that wish to listen to publish events.

Constructor Summary

Attributes Name and Description
caplin.services.messaging.PublishListener()

Method Summary

Attributes Name and Description
void onError(String sSubject, caplin.services.messaging.PublishError sErrorType)

Called when there is an error with the publish command.

void onSuccess(String sSubject)

Called to signify that the publish was successful.

Constructor Detail

caplin.services.messaging.PublishListener()

Method Detail

void onError(String sSubject, caplin.services.messaging.PublishError sErrorType)

Called when there is an error with the publish command.

Parameters
String sSubject The subject of the record that there was an error publishing to.
caplin.services.messaging.PublishError sErrorType The type of error.

void onSuccess(String sSubject)

Called to signify that the publish was successful.

Parameters
String sSubject The subject of the record that was successfuly published to.