Lightstreamer iOS Client 1.2.6
Native iOS Client library for Lightstreamer
Public Member Functions

<LSMessageDelegate> Protocol Reference

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

#import <LSMessageDelegate.h>

List of all members.

Public Member Functions

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

Detailed Description

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


All notifications are sent in sequence on a dedicated thread.


Member Function 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: