FMWebSyncBaseMessage Class Reference

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

Overview

Base class for WebSync client/publisher messages.

+ baseMessage

Initializes a new instance of the class.

+ (FMWebSyncBaseMessage *)baseMessage

Discussion

Initializes a new instance of the class.

Declared In

FMWebSync.h

– dataBytes

Gets the data payload in binary format. (Overrides .)

- (NSMutableData *)dataBytes

Discussion

Gets the data payload in binary format. (Overrides .)

Declared In

FMWebSync.h

– dataJson

Gets the data payload in JSON format. (Overrides .)

- (NSString *)dataJson

Discussion

Gets the data payload in JSON format. (Overrides .)

Declared In

FMWebSync.h

– error

Gets the friendly error message if is false.

- (NSString *)error

Discussion

Gets the friendly error message if is false.

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

– isBinary

Gets whether or not the data is binary.

- (bool)isBinary

Discussion

Gets whether or not the data is binary.

Declared In

FMWebSync.h

– setDataBytes:

Sets the data payload in binary format. (Overrides .)

- (void)setDataBytes:(NSMutableData *)value

Discussion

Sets the data payload in binary format. (Overrides .)

Declared In

FMWebSync.h

– setDataJson:

Sets the data payload in JSON format. (Overrides .)

- (void)setDataJson:(NSString *)value

Discussion

Sets the data payload in JSON format. (Overrides .)

Declared In

FMWebSync.h

– setError:

Sets the friendly error message if is false.

- (void)setError:(NSString *)value

Discussion

Sets the friendly error message if is false.

Declared In

FMWebSync.h

– setSuccessful:

Sets the flag that indicates whether the request should be processed. If the message represents a response, this indicates whether the processing was successful. If set to false, the property should be set to a friendly error message.

- (void)setSuccessful:(bool)value

Discussion

Sets the flag that indicates whether the request should be processed. If the message represents a response, this indicates whether the processing was successful. If set to false, the property should be set to a friendly error message.

Declared In

FMWebSync.h

– setTimestamp:

Sets the date/time the message was processed on the server (in UTC/GMT).

- (void)setTimestamp:(FMNullableDate *)value

Discussion

Sets the date/time the message was processed on the server (in UTC/GMT).

Declared In

FMWebSync.h

– setValidate:

Sets whether to skip validation while deserializing, used internally.

- (void)setValidate:(bool)value

Discussion

Sets whether to skip validation while deserializing, used internally.

Declared In

FMWebSync.h

– successful

Gets the flag that indicates whether the request should be processed. If the message represents a response, this indicates whether the processing was successful. If set to false, the property should be set to a friendly error message.

- (bool)successful

Discussion

Gets the flag that indicates whether the request should be processed. If the message represents a response, this indicates whether the processing was successful. If set to false, the property should be set to a friendly error message.

Declared In

FMWebSync.h

– timestamp

Gets the date/time the message was processed on the server (in UTC/GMT).

- (FMNullableDate *)timestamp

Discussion

Gets the date/time the message was processed on the server (in UTC/GMT).

Declared In

FMWebSync.h

– validate

Gets whether to skip validation while deserializing, used internally.

- (bool)validate

Discussion

Gets whether to skip validation while deserializing, used internally.

Declared In

FMWebSync.h