FMWebSyncSubscribeReceiveArgs Class Reference

Overview

Arguments for .

– channel

Gets the channel over which the data was published.

- (NSString *)channel

Discussion

Gets the channel over which the data was published.

Declared In

FMWebSync.h

– initWithChannel:dataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

- (id)initWithChannel:(NSString *)channel dataJson:(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="channel">The

channel over which data was received.

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

– publishingClient

Gets details about the client sending the publication.

- (FMWebSyncPublishingClient *)publishingClient

Discussion

Gets details about the client sending the publication.

Declared In

FMWebSync.h

+ subscribeReceiveArgsWithChannel:dataJson:dataBytes:connectionType:reconnectAfter:

Initializes a new instance of the class.

+ (FMWebSyncSubscribeReceiveArgs *)subscribeReceiveArgsWithChannel:(NSString *)channel dataJson:(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="channel">The

channel over which data was received.

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