FMWebSyncPublishingClient Class Reference

Inherits from FMSerializable : NSObject
Declared in FMWebSync.h

Overview

Details about the client sending the publication data.

– boundRecords

Gets the publishing client’s bound records.

- (NSMutableDictionary *)boundRecords

Discussion

Gets the publishing client’s bound records.

Declared In

FMWebSync.h

– clientId

Gets the publishing client’s ID.

- (FMNullableGuid *)clientId

Discussion

Gets the publishing client’s ID.

Declared In

FMWebSync.h

+ fromJsonWithPublishingClientJson:

Deserializes a JSON-formatted publishing client.

+ (FMWebSyncPublishingClient *)fromJsonWithPublishingClientJson:(NSString *)publishingClientJson

Parameters

name="publishingClientJson">The

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

Discussion

Deserializes a JSON-formatted publishing client.

Declared In

FMWebSync.h

– getBoundRecordValueJsonWithKey:

Gets the JSON value of a record bound to the publishing 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 publishing 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

publishing client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ publishingClient

Initializes a new instance of the class.

+ (FMWebSyncPublishingClient *)publishingClient

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ publishingClientWithClientId:boundRecords:

Initializes a new instance of the class.

+ (FMWebSyncPublishingClient *)publishingClientWithClientId:(FMNullableGuid *)clientId boundRecords:(NSMutableDictionary *)boundRecords

Parameters

name="boundRecords">The

records bound to the client.

name="clientId">The

publishing client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ publishingClientWithId:boundRecords:

Initializes a new instance of the class.

+ (FMWebSyncPublishingClient *)publishingClientWithId:(FMNullableGuid *)clientId boundRecords:(NSMutableDictionary *)boundRecords

Parameters

name="boundRecords">The

records bound to the client.

name="clientId">The

publishing client’s ID.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– setBoundRecords:

Sets the publishing client’s bound records.

- (void)setBoundRecords:(NSMutableDictionary *)value

Discussion

Sets the publishing client’s bound records.

Declared In

FMWebSync.h

– setClientId:

Sets the publishing client’s ID.

- (void)setClientId:(FMNullableGuid *)value

Discussion

Sets the publishing client’s ID.

Declared In

FMWebSync.h

– toJson

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

- (NSString *)toJson

Discussion

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

Declared In

FMWebSync.h

+ toJsonWithPublishingClient:

Serializes a publishing client to JSON.

+ (NSString *)toJsonWithPublishingClient:(FMWebSyncPublishingClient *)publishingClient

Parameters

name="publishingClient">The

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

Discussion

Serializes a publishing client to JSON.

Declared In

FMWebSync.h