Lightstreamer macOS Client  1.2.5
Native macOS Client library for Lightstreamer
Instance Methods | Class Methods | Properties | List of all members
LSMessageInfo Class Reference

The LSMessageInfo class contains a message object that will be sent to a Lightstreamer Server. More...

#import <LSMessageInfo.h>

Inheritance diagram for LSMessageInfo:

Instance Methods

(id) - initWithMessage:sequence:delayTimeout:
 

Class Methods

(LSMessageInfo *) + messageInfoWithMessage:sequence:
 Creates and returns an LSMessageInfo object with the specified parameters. More...
 
(LSMessageInfo *) + messageInfoWithMessage:sequence:delayTimeout:
 Creates and returns an LSMessageInfo object with the specified parameters. More...
 

Properties

NSString * message
 The text string to sent to the Server. More...
 
NSString * sequence
 The sequence identifier for this Message. More...
 
NSTimeInterval delayTimeout
 The timeout the Server should wait in case of a hole in the sequence's progressive before declaring the previous message as lost. More...
 
int progressiveNumber
 The progressive number assigned to this message in its sequence. More...
 

Detailed Description

The LSMessageInfo class contains a message object that will be sent to a Lightstreamer Server.

The class contains the message string, the sequence to which such message is associated and a timeout to wait before the server declares lost the previous message in sequence.

Method Documentation

- (id) initWithMessage: (NSString *)  message
sequence: (NSString *)  sequence
delayTimeout: (NSTimeInterval)  delayTimeout 
+ (LSMessageInfo *) messageInfoWithMessage: (NSString *)  message
sequence: (NSString *)  sequence 

Creates and returns an LSMessageInfo object with the specified parameters.

Parameters
messageThe text string to be sent to the Server. It will be interpreted by the Metadata Adapter.
sequenceThe sequence identifier for this Message. Messages pertaining to the same sequence are guaranteed to be processed by the server in order. If sequential management is undesired, the special UNORDERED_MESSAGES sequence identifier can be used. A sequence can be composed only of alphanumeric characters and underscores.
Returns
The LSMessageInfo object.
+ (LSMessageInfo *) messageInfoWithMessage: (NSString *)  message
sequence: (NSString *)  sequence
delayTimeout: (NSTimeInterval)  delayTimeout 

Creates and returns an LSMessageInfo object with the specified parameters.

Parameters
messageThe text string to be sent to the Server. It will be interpreted by the Metadata Adapter.
sequenceThe sequence identifier for this Message. Messages pertaining to the same sequence are guaranteed to be processed by the server in order. If sequential management is undesired, the special UNORDERED_MESSAGES sequence identifier can be used. A sequence can be composed only of alphanumeric characters and underscores.
delayTimeoutThe timeout the Server should wait in case of a hole in the sequence's progressive before declaring the previous message as lost. If 0 means that the Server will not wait at all for missing messages. If less than 0 the Server will use a timeout based on its own configuration.
Returns
The LSMessageInfo object.

Property Documentation

- (NSTimeInterval) delayTimeout
readwritenonatomicassign

The timeout the Server should wait in case of a hole in the sequence's progressive before declaring the previous message as lost.

If 0 means that the Server will not wait at all for missing messages. If less than 0 the Server will use a timeout based on its own configuration.
The default is -1.

- (NSString*) message
readwritenonatomiccopy

The text string to sent to the Server.

- (int) progressiveNumber
readwritenonatomicassign

The progressive number assigned to this message in its sequence.

This value is assigned automatically when the message is sent. Any user-assigned value is ignored.
The default value is 0, which means the message has not yet been sent.

- (NSString*) sequence
readwritenonatomiccopy

The sequence identifier for this Message.

A sequence can be composed only of alphanumeric characters and underscores.


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