5 #import <Foundation/Foundation.h> 10 @class MigratoryPushClientImpl;
85 MigratoryPushClientImpl *_pushClientImpl;
102 - (void) setLogType: (LogType)logLevel;
110 - (void) setListener: (NSObject<MigratoryDataListener> *)listener;
178 - (void) setServers: (NSArray *)servers;
202 - (void) subscribe: (NSArray *)subjects;
236 - (void) subscribeWithConflation: (NSArray *)subjects conflationTimeMillis:(int)conflationMillis;
247 - (void) unsubscribe: (NSArray *)subjects;
260 - (void) setEncryption: (BOOL)encryption;
276 - (void) setEntitlementToken: (NSString *)token;
294 - (void) setServersDownBeforeNotify: (
int)n DEPRECATED_MSG_ATTRIBUTE(
"Use notifyAfterReconnectRetries instead");
303 - (void) notifyAfterReconnectRetries: (
int)n;
364 - (void) setQuickReconnectMaxRetries:(
int) retries;
412 - (void) setQuickReconnectInitialDelay:(
int) seconds;
425 - (void) setReconnectPolicy:(NSString* ) policy;
435 - (void) setReconnectTimeInterval:(
int) seconds;
444 - (void) setReconnectMaxDelay:(
int) seconds;
456 - (void) setExternalToken: (NSString *)externalToken;
458 - (void) setNumberOfHistoricalMessages:(
int) number;
id init()
Create a MigratoryDataClient object.
Include the declaration of the MigratoryDataListener class.
Include global constants and typedefs.
Represent a message.
Definition: MigratoryDataMessage.h:16
void dispose()
Disconnect from the connected MigratoryData server and dispose the resources used by the connection...
Implementations of this interface can handle the real-time messages received for the subscribed subje...
Definition: MigratoryDataListener.h:18
void resume()
Resume the API operation.
NSArray * getSubjects()
Return the list of subscribed subjects.
This class implements all the necessary operations for connecting to a cluster of one or more Migrato...
Definition: MigratoryDataClient.h:83
void pause()
Pause the API operation.