FMTcpAcceptArgs Class Reference

Inherits from FMDynamic : FMSerializable : NSObject
Declared in FM.h

Overview

TCP accept arguments.

– initWithState:

Initializes a new instance of the class.

- (id)initWithState:(NSObject *)state

Parameters

name="state">The

custom state object.

Discussion

Initializes a new instance of the class.

Declared In

FM.h

– onComplete

Gets the callback to invoke on complete.

- (FMCallback *)onComplete

Discussion

Gets the callback to invoke on complete.

Declared In

FM.h

– onFailure

Gets the callback to invoke on failure.

- (FMCallback *)onFailure

Discussion

Gets the callback to invoke on failure.

Declared In

FM.h

– onSuccess

Gets the callback to invoke on success.

- (FMCallback *)onSuccess

Discussion

Gets the callback to invoke on success.

Declared In

FM.h

– setOnComplete:

Sets the callback to invoke on complete.

- (void)setOnComplete:(FMCallback *)value

Discussion

Sets the callback to invoke on complete.

Declared In

FM.h

– setOnCompleteBlock:

Sets the callback to invoke on complete.

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

Discussion

Sets the callback to invoke on complete.

Declared In

FM.h

– setOnFailure:

Sets the callback to invoke on failure.

- (void)setOnFailure:(FMCallback *)value

Discussion

Sets the callback to invoke on failure.

Declared In

FM.h

– setOnFailureBlock:

Sets the callback to invoke on failure.

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

Discussion

Sets the callback to invoke on failure.

Declared In

FM.h

– setOnSuccess:

Sets the callback to invoke on success.

- (void)setOnSuccess:(FMCallback *)value

Discussion

Sets the callback to invoke on success.

Declared In

FM.h

– setOnSuccessBlock:

Sets the callback to invoke on success.

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

Discussion

Sets the callback to invoke on success.

Declared In

FM.h

– setState:

Sets the custom state object.

- (void)setState:(NSObject *)value

Discussion

Sets the custom state object.

Declared In

FM.h

– state

Gets the custom state object.

- (NSObject *)state

Discussion

Gets the custom state object.

Declared In

FM.h

+ tcpAcceptArgsWithState:

Initializes a new instance of the class.

+ (FMTcpAcceptArgs *)tcpAcceptArgsWithState:(NSObject *)state

Parameters

name="state">The

custom state object.

Discussion

Initializes a new instance of the class.

Declared In

FM.h