TIBCO eFTL™
Instance Methods | List of all members
<eFTLCompletionListener> Protocol Reference

Completion event handler. More...

Inheritance diagram for <eFTLCompletionListener>:

Instance Methods

(void) - message:didFailWithCode:reason:
 A publish operation resulted in an error. More...
 
(void) - messageDidComplete:
 A publish operation has completed successfully. More...
 

Detailed Description

Completion event handler.

Implement this interface to process completion events.

Supply an instance when you call publishMessage:listener: (eFTLConnection).

Method Documentation

- (void) message: (eFTLMessage *)  message
didFailWithCode: (NSInteger)  code
reason: (NSString *)  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 error 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.
- (void) messageDidComplete: (eFTLMessage *)  message

A publish operation has completed successfully.

Parameters
messageThis message has been published.

The documentation for this protocol was generated from the following file: