FMWebSyncNotifyArgs Class Reference

Inherits from FMWebSyncBaseInputArgs : FMWebSyncExtensible : FMDynamic : FMSerializable : NSObject
Declared in FMWebSync.h

Overview

Arguments for client notify requests.

– clientId

Gets the client ID to notify.

- (FMGuid *)clientId

Discussion

Gets the client ID to notify.

Declared In

FMWebSync.h

– dataBytes

Gets the data to send in binary format. (Overrides .)

- (NSMutableData *)dataBytes

Discussion

Gets the data to send in binary format. (Overrides .)

Declared In

FMWebSync.h

– dataJson

Gets the data to send in JSON format. (Overrides .)

- (NSString *)dataJson

Discussion

Gets the data to send in JSON format. (Overrides .)

Declared In

FMWebSync.h

– initWithClientId:dataBytes:

Initializes a new instance of the class.

- (id)initWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes

Parameters

name="dataBytes">The

data to send in binary format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithClientId:dataBytes:tag:

Initializes a new instance of the class.

- (id)initWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes tag:(NSString *)tag

Parameters

name="tag">The

tag that identifies the contents of the payload.

name="dataBytes">The

data to send in binary format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithClientId:dataJson:

Initializes a new instance of the class.

- (id)initWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson

Parameters

name="dataJson">The

data to send in JSON format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– initWithClientId:dataJson:tag:

Initializes a new instance of the class.

- (id)initWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson tag:(NSString *)tag

Parameters

name="dataJson">The

data to send in JSON format.

name="tag">The

tag that identifies the contents of the payload.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– isBinary

Gets whether or not the data is binary.

- (bool)isBinary

Discussion

Gets whether or not the data is binary.

Declared In

FMWebSync.h

+ notifyArgsWithClientId:dataBytes:

Initializes a new instance of the class.

+ (FMWebSyncNotifyArgs *)notifyArgsWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes

Parameters

name="dataBytes">The

data to send in binary format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyArgsWithClientId:dataBytes:tag:

Initializes a new instance of the class.

+ (FMWebSyncNotifyArgs *)notifyArgsWithClientId:(FMGuid *)clientId dataBytes:(NSMutableData *)dataBytes tag:(NSString *)tag

Parameters

name="tag">The

tag that identifies the contents of the payload.

name="dataBytes">The

data to send in binary format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyArgsWithClientId:dataJson:

Initializes a new instance of the class.

+ (FMWebSyncNotifyArgs *)notifyArgsWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson

Parameters

name="dataJson">The

data to send in JSON format.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

+ notifyArgsWithClientId:dataJson:tag:

Initializes a new instance of the class.

+ (FMWebSyncNotifyArgs *)notifyArgsWithClientId:(FMGuid *)clientId dataJson:(NSString *)dataJson tag:(NSString *)tag

Parameters

name="dataJson">The

data to send in JSON format.

name="tag">The

tag that identifies the contents of the payload.

name="clientId">The

client ID to which the data should be sent.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– onComplete

Gets the callback to invoke after or .

- (FMCallback *)onComplete

Discussion

Gets the callback to invoke after or .

Declared In

FMWebSync.h

– onFailure

Gets the callback to invoke if the request fails.

- (FMCallback *)onFailure

Discussion

Gets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– onSuccess

Gets the callback to invoke if the request succeeds.

- (FMCallback *)onSuccess

Discussion

Gets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setClientId:

Sets the client ID to notify.

- (void)setClientId:(FMGuid *)value

Discussion

Sets the client ID to notify.

Declared In

FMWebSync.h

– setDataBytes:

Sets the data to send in binary format. (Overrides .)

- (void)setDataBytes:(NSMutableData *)value

Discussion

Sets the data to send in binary format. (Overrides .)

Declared In

FMWebSync.h

– setDataJson:

Sets the data to send in JSON format. (Overrides .)

- (void)setDataJson:(NSString *)value

Discussion

Sets the data to send in JSON format. (Overrides .)

Declared In

FMWebSync.h

– setOnComplete:

Sets the callback to invoke after or .

- (void)setOnComplete:(FMCallback *)value

Discussion

Sets the callback to invoke after or .

Declared In

FMWebSync.h

– setOnCompleteBlock:

Sets the callback to invoke after or .

- (void)setOnCompleteBlock:(void ( ^ ) ( FMWebSyncNotifyCompleteArgs *))valueBlock

Discussion

Sets the callback to invoke after or .

Declared In

FMWebSync.h

– setOnFailure:

Sets the callback to invoke if the request fails.

- (void)setOnFailure:(FMCallback *)value

Discussion

Sets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– setOnFailureBlock:

Sets the callback to invoke if the request fails.

- (void)setOnFailureBlock:(void ( ^ ) ( FMWebSyncNotifyFailureArgs *))valueBlock

Discussion

Sets the callback to invoke if the request fails.

Declared In

FMWebSync.h

– setOnSuccess:

Sets the callback to invoke if the request succeeds.

- (void)setOnSuccess:(FMCallback *)value

Discussion

Sets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setOnSuccessBlock:

Sets the callback to invoke if the request succeeds.

- (void)setOnSuccessBlock:(void ( ^ ) ( FMWebSyncNotifySuccessArgs *))valueBlock

Discussion

Sets the callback to invoke if the request succeeds.

Declared In

FMWebSync.h

– setTag:

Sets the tag that identifies the contents of the payload.

- (void)setTag:(NSString *)value

Discussion

Sets the tag that identifies the contents of the payload.

Declared In

FMWebSync.h

– tag

Gets the tag that identifies the contents of the payload.

- (NSString *)tag

Discussion

Gets the tag that identifies the contents of the payload.

Declared In

FMWebSync.h