TIBCO eFTL™
|
Completion event handler. More...
Public Member Functions | |
void | OnCompletion (IMessage message) |
void | OnError (IMessage message, int code, String reason) |
Completion event handler.
Implement this interface to process completion events.
Supply an instance when you call IConnection.Publish(IMessage, ICompletionListener)
void TIBCO.EFTL.ICompletionListener.OnCompletion | ( | IMessage | message | ) |
A publish operation has completed successfully.
message | This message has been published. |
void TIBCO.EFTL.ICompletionListener.OnError | ( | IMessage | message, |
int | code, | ||
String | reason | ||
) |
A publish operation resulted in an error.
The message was not forwarded by the eFTL server.
When developing a client application, consider alerting the user to the error.
Possible codes include:
message | This message was not published. |
code | This code categorizes the error. Application programs may use this value in response logic. |
reason | This string provides more detail about the error. Application programs may use this value for error reporting and logging. |