FMWebSyncNotifyReceiveArgs Class Reference

Overview

Arguments for .

– initWithDataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

- (id)initWithDataJson:(NSString *)dataJson dataBytes:(NSMutableData *)dataBytes connectionType:(FMWebSyncConnectionType)connectionType reconnectAfter:(int)reconnectAfter

Parameters

name="dataBytes">The

data in binary format.

name="connectionType">The

current connection type.

name="dataJson">The

data in JSON format.

name="reconnectAfter">The

amount of time in milliseconds to pause before reconnecting to the server.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– notifyingClient

Gets details about the client sending the notification.

- (FMWebSyncNotifyingClient *)notifyingClient

Discussion

Gets details about the client sending the notification.

Declared In

FMWebSync.h

+ notifyReceiveArgsWithDataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

+ (FMWebSyncNotifyReceiveArgs *)notifyReceiveArgsWithDataJson:(NSString *)dataJson dataBytes:(NSMutableData *)dataBytes connectionType:(FMWebSyncConnectionType)connectionType reconnectAfter:(int)reconnectAfter

Parameters

name="dataBytes">The

data in binary format.

name="connectionType">The

current connection type.

name="dataJson">The

data in JSON format.

name="reconnectAfter">The

amount of time in milliseconds to pause before reconnecting to the server.

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– wasSentByMe

Gets whether the data was sent by the current client.

- (bool)wasSentByMe

Discussion

Gets whether the data was sent by the current client.

Declared In

FMWebSync.h