Lightstreamer macOS Client  1.2.5
Native macOS Client library for Lightstreamer
Instance Methods | List of all members
<LSMessageDelegate> Protocol Reference

The LSMessageDelegate protocol receives notifications of server responses to sent messages. More...

#import <LSMessageDelegate.h>

Inheritance diagram for <LSMessageDelegate>:

Instance Methods

(void) - message:didProcessWithProgressiveNumber:
 Notification of the successful processing of a sent message. More...
 
(void) - message:didAbortWithProgressiveNumber:errorCode:errorMessage:
 Notification of an error which prevents the correct handling of a message from being accomplished. More...
 
(void) - message:didAbortWithProgressiveNumber:exception:
 Notification that the outcome of a sent message will not be received. More...
 

Detailed Description

The LSMessageDelegate protocol receives notifications of server responses to sent messages.


All notifications are sent in sequence on a dedicated thread.

Method Documentation

- (void) message: (LSMessageInfo *)  messageInfo
didAbortWithProgressiveNumber: (int)  progressiveNumber
errorCode: (int)  errorCode
errorMessage: (NSString *)  errorMessage 

Notification of an error which prevents the correct handling of a message from being accomplished.

Parameters
messageInfoThe original message sent to the server.
progressiveNumberThe progressive number associated to the message.
errorCodeThe error code returned by the Server. See the asynchronous Send Message outcome messages on the text protocol documentation for a reference on the error codes that can be issued in response to a sendMessage request. Note that code 39 is not used in this case.
errorMessageThe error message describing the error, as received from the Server.
- (void) message: (LSMessageInfo *)  messageInfo
didAbortWithProgressiveNumber: (int)  progressiveNumber
exception: (LSException *)  exception 
optional

Notification that the outcome of a sent message will not be received.

Parameters
messageInfoThe original message sent to the server.
progressiveNumberThe progressive number associated to the message.
exceptionThe reason that made the request to be aborted. It may be nil.
- (void) message: (LSMessageInfo *)  messageInfo
didProcessWithProgressiveNumber: (int)  progressiveNumber 

Notification of the successful processing of a sent message.

Parameters
messageInfoThe original message sent to the server.
progressiveNumberThe progressive number associated to the message.

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