FMWebSyncNotifyingClient Class Reference

Inherits from FMSerializable : NSObject
Declared in FMWebSync.h

Overview

Details about the client sending the notification data.

– boundRecords

Gets the notifying client’s bound records.

- (NSMutableDictionary *)boundRecords

Discussion

Gets the notifying client’s bound records.

Declared In

FMWebSync.h

– clientId

Gets the notifying client’s ID.

- (FMNullableGuid *)clientId

Discussion

Gets the notifying client’s ID.

Declared In

FMWebSync.h

+ fromJsonWithNotifyingClientJson:

Deserializes a JSON-formatted notifying client.

+ (FMWebSyncNotifyingClient *)fromJsonWithNotifyingClientJson:(NSString *)notifyingClientJson

Parameters

name="notifyingClientJson">The

JSON-formatted notifying client to deserialize. The notifying client.

Discussion

Deserializes a JSON-formatted notifying client.

Declared In

FMWebSync.h

– getBoundRecordValueJsonWithKey:

Gets the JSON value of a record bound to the notifying client.

- (NSString *)getBoundRecordValueJsonWithKey:(NSString *)key

Parameters

name="key">The

record key. The JSON value of the record, if it exists, or null.

Discussion

Gets the JSON value of a record bound to the notifying client.

Declared In

FMWebSync.h

– init

Initializes a new instance of the class.

- (id)init

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithClientId:boundRecords:

Initializes a new instance of the class.

- (id)initWithClientId:(FMNullableGuid *)clientId boundRecords:(NSMutableDictionary *)boundRecords

Parameters

name="boundRecords">The

records bound to the client.

name="clientId">The

notifying client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyingClient

Initializes a new instance of the class.

+ (FMWebSyncNotifyingClient *)notifyingClient

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyingClientWithClientId:boundRecords:

Initializes a new instance of the class.

+ (FMWebSyncNotifyingClient *)notifyingClientWithClientId:(FMNullableGuid *)clientId boundRecords:(NSMutableDictionary *)boundRecords

Parameters

name="boundRecords">The

records bound to the client.

name="clientId">The

notifying client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyingClientWithId:boundRecords:

Initializes a new instance of the class.

+ (FMWebSyncNotifyingClient *)notifyingClientWithId:(FMNullableGuid *)clientId boundRecords:(NSMutableDictionary *)boundRecords

Parameters

name="boundRecords">The

records bound to the client.

name="clientId">The

notifying client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– setBoundRecords:

Sets the notifying client’s bound records.

- (void)setBoundRecords:(NSMutableDictionary *)value

Discussion

Sets the notifying client’s bound records.

Declared In

FMWebSync.h

– setClientId:

Sets the notifying client’s ID.

- (void)setClientId:(FMNullableGuid *)value

Discussion

Sets the notifying client’s ID.

Declared In

FMWebSync.h

– toJson

Serializes this instance to JSON. The JSON-formatted notifying client.

- (NSString *)toJson

Discussion

Serializes this instance to JSON. The JSON-formatted notifying client.

Declared In

FMWebSync.h

+ toJsonWithNotifyingClient:

Serializes a notifying client to JSON.

+ (NSString *)toJsonWithNotifyingClient:(FMWebSyncNotifyingClient *)notifyingClient

Parameters

name="notifyingClient">The

notifying client to serialize. The JSON-formatted notifying client.

Discussion

Serializes a notifying client to JSON.

Declared In

FMWebSync.h