MigratoryData Client API for iOS
Developer's Guide and Reference Manual
MigratoryDataGlobals.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2007-2019 Migratory Data Systems (http://migratorydata.com)
3  * ALL RIGHTS RESERVED. Use is subject to license terms.
4  */
5 
17 extern NSString *NOTIFY_SERVER_UP;
18 
25 extern NSString *NOTIFY_SERVER_DOWN;
26 
35 extern NSString *NOTIFY_DATA_SYNC;
36 
45 extern NSString *NOTIFY_DATA_RESYNC;
46 
54 extern NSString *NOTIFY_SUBSCRIBE_ALLOW;
55 
63 extern NSString *NOTIFY_SUBSCRIBE_DENY;
64 
73 extern NSString *NOTIFY_PUBLISH_DENIED;
74 
75 extern NSString *NOTIFY_SUBSCRIBE_TIMEOUT;
76 
86 extern NSString *NOTIFY_PUBLISH_NO_SUBSCRIBER;
87 
94 extern NSString *NOTIFY_PUBLISH_OK;
95 
102 extern NSString *NOTIFY_PUBLISH_FAILED;
103 
109 extern NSString *CONSTANT_WINDOW_BACKOFF;
110 
116 extern NSString *TRUNCATED_EXPONENTIAL_BACKOFF;
117 
118 
132 typedef NS_ENUM(NSInteger, LogType) {
133 
137  LOG_ERROR,
138 
142  LOG_INFO,
143 
147  LOG_DEBUG,
148 
152  LOG_TRACE
153 
154 };
155 
NSString * NOTIFY_SUBSCRIBE_DENY
Indicate that the client was not authorized to subscribe to a subject.
NSString * NOTIFY_SERVER_UP
Indicate that the client successfully connected to a MigratoryData server.
NSString * NOTIFY_PUBLISH_DENIED
Indicate that the client was unable to publish a message because it is not allowed by your entitlemen...
NSString * NOTIFY_PUBLISH_FAILED
Indicate that the client was unable to publish a message.
NSString * NOTIFY_PUBLISH_NO_SUBSCRIBER
Indicate that the client was unable to publish a message because there is no client subscribed to the...
NSString * NOTIFY_SERVER_DOWN
Indicate that the client failed to connect to a MigratoryData server.
NSString * NOTIFY_DATA_RESYNC
After a failover reconnection, the client synchronized a subscribed subject with the latest message a...
NSString * CONSTANT_WINDOW_BACKOFF
A constant used to define the reconnect policy.
NSString * NOTIFY_SUBSCRIBE_ALLOW
Indicate that the client was authorized to subscribe to a subject.
typedef NS_ENUM(NSInteger, LogType)
This class enumerates the MigratoryData logging levels.
Definition: MigratoryDataGlobals.h:132
NSString * NOTIFY_DATA_SYNC
After a failover reconnection, the client synchronized a subscribed subject with the latest message a...
NSString * NOTIFY_PUBLISH_OK
Indicate that the client successfully published a message.
NSString * TRUNCATED_EXPONENTIAL_BACKOFF
A constant used to define the reconnect policy.