QtsHttp  0.9.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
<IQtsHttpSystem> Protocol Reference

Interface for Qts Http system API. More...

#import <QtsHttpSystem.h>

Inheritance diagram for <IQtsHttpSystem>:
QNQtsHttpSystem

Instance Methods

(void) - getSystemSettingWithCommunicationMode:cancel:success:fail:
 Get system setting of QNAP Turbo NAS. More...
 
(void) - enableFileStationWithCommunicationMode:cancel:success:fail:
 Enable file station service of QNAP Turbo NAS. More...
 

Detailed Description

Interface for Qts Http system API.

  1. Support system related API.

Definition at line 50 of file QtsHttpSystem.h.

Method Documentation

- (void) enableFileStationWithCommunicationMode: (BOOL)  isAsync
cancel: (int *)  isCancel
success: (void(^)(QTS_RESPONSE_CTX *response))  success
fail: (void(^)(QTS_HTTP_API_RESULTS error))  fail 
optional

Enable file station service of QNAP Turbo NAS.

[IN] isAsync : Execute API by Synchronized or Asynchronized Mode.

Parameters
[IN]isCancel : Cancel API.
[BLOCK]success : block to retrieve QTS_RESPONSE_CTX class when API was executed successfully. QTS_RESPONSE_CTX's response will store QNSystemSettingInfo class.
[BLOCK]fail : block to retrieve error code when API was executed failurely.
Returns
n/a.
- (void) getSystemSettingWithCommunicationMode: (BOOL)  isAsync
cancel: (int *)  isCancel
success: (void(^)(QTS_RESPONSE_CTX *response))  success
fail: (void(^)(QTS_HTTP_API_RESULTS error))  fail 
optional

Get system setting of QNAP Turbo NAS.

[IN] isAsync : Execute API by Synchronized or Asynchronized Mode.

Parameters
[IN]isCancel : Cancel API.
[BLOCK]success : block to retrieve QTS_RESPONSE_CTX class when API was executed successfully. QTS_RESPONSE_CTX's response will store QNSystemSettingInfo class.
[BLOCK]fail : block to retrieve error code when API was executed failurely.
Returns
n/a.

The documentation for this protocol was generated from the following file: