QtsHttp  0.9.4
Instance Methods | List of all members
<IQtsHttpSystem > Protocol Reference

Interface for Qts Http system API. More...

#import <QtsHttpSystem.h>

Inheritance diagram for <IQtsHttpSystem >:

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.

Method Documentation

◆ enableFileStationWithCommunicationMode:cancel:success:fail:()

- (void IQtsHttpSystem) 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.

◆ getSystemSettingWithCommunicationMode:cancel:success:fail:()

- (void IQtsHttpSystem) 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: