FMWebSyncBaseReceiveArgs Class Reference

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

Overview

Arguments for .

+ baseReceiveArgsWithDataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

+ (FMWebSyncBaseReceiveArgs *)baseReceiveArgsWithDataJson:(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

– connectionType

Gets the current connection type.

- (FMWebSyncConnectionType)connectionType

Discussion

Gets the current connection type.

Declared In

FMWebSync.h

– dataBytes

Gets the data that was sent in binary format.

- (NSMutableData *)dataBytes

Discussion

Gets the data that was sent in binary format.

Declared In

FMWebSync.h

– dataJson

Gets the data that was sent in JSON format.

- (NSString *)dataJson

Discussion

Gets the data that was sent in JSON format.

Declared In

FMWebSync.h

– 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

– isBinary

Gets whether or not the data is binary.

- (bool)isBinary

Discussion

Gets whether or not the data is binary.

Declared In

FMWebSync.h

– reconnectAfter

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

- (int)reconnectAfter

Discussion

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

Declared In

FMWebSync.h

– setReconnectAfter:

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

- (void)setReconnectAfter:(int)value

Discussion

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

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