![]() |
Lightstreamer iOS Client
1.4.4
Native iOS Client library for Lightstreamer
|
The LSMessageDelegate protocol receives notifications of server responses to sent messages. More...
#import <LSMessageDelegate.h>
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... | |
The LSMessageDelegate protocol receives notifications of server responses to sent messages.
All notifications are sent in sequence on a dedicated thread.
| - (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.
| messageInfo | The original message sent to the server. |
| progressiveNumber | The progressive number associated to the message. |
| errorCode | The 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. |
| errorMessage | The error message describing the error, as received from the Server. |
|
optional |
Notification that the outcome of a sent message will not be received.
| messageInfo | The original message sent to the server. |
| progressiveNumber | The progressive number associated to the message. |
| exception | The 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.
| messageInfo | The original message sent to the server. |
| progressiveNumber | The progressive number associated to the message. |
1.8.11