TIBCO eFTL™
Public Member Functions | List of all members
TIBCO.EFTL.ICompletionListener Interface Reference

Completion event handler. More...

Public Member Functions

void OnCompletion (IMessage message)
 
void OnError (IMessage message, int code, String reason)
 

Detailed Description

Completion event handler.

Implement this interface to process completion events.

Supply an instance when you call IConnection.Publish(IMessage, ICompletionListener)

Member Function Documentation

void TIBCO.EFTL.ICompletionListener.OnCompletion ( IMessage  message)

A publish operation has completed successfully.

Parameters
messageThis 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:

Parameters
messageThis message was not published.
codeThis code categorizes the error. Application programs may use this value in response logic.
reasonThis string provides more detail about the error. Application programs may use this value for error reporting and logging.