QtsHttp  0.9.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
QtsHttpSystem.h
Go to the documentation of this file.
1 //
2 // QtsHttpSystem.h
3 // QTSHTTPSDK
4 //
5 // Created by Lawrence on 2013/11/24.
6 // Copyright (c) 2013年 Lawrence. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "QtsHttpComm.h"
11 
14 {
19  //QTS_HTTP_SYSTEM_API_V2 = 2,
21 
27 @interface QNSystemSettingInfo : NSObject
28 {
29  NSString* serverName;
30  long serverPort;
31  BOOL isSSL;
33  BOOL isForceSSL;
34 }
35 
36 @property (strong) NSString* serverName;
37 @property (assign) long serverPort;
38 @property (assign) BOOL isSSL;
39 @property (assign) long serverSSLPort;
40 @property (assign) BOOL isForceSSL;
42 @end
43 
50 @protocol IQtsHttpSystem <NSObject>
51 @optional
52 
69 -(void) getSystemSettingWithCommunicationMode:(BOOL)isAsync cancel:(int*)isCancel success:(void(^)(QTS_RESPONSE_CTX* response))success fail:(void(^)(QTS_HTTP_API_RESULTS error))fail;
86 -(void) enableFileStationWithCommunicationMode:(BOOL)isAsync cancel:(int*)isCancel success:(void(^)(QTS_RESPONSE_CTX* response))success fail:(void(^)(QTS_HTTP_API_RESULTS error))fail;
87 
88 @end
89 @interface QNQtsHttpSystem : NSObject <IQtsHttpSystem>
90 @end
91 
Interface for Qts Http system API.
Definition: QtsHttpSystem.h:50
NSString * serverName
Definition: QtsHttpSystem.h:29
_QTS_HTTP_SYSTEM_API_VERSION_
Definition: QtsHttpSystem.h:13
QTS system setting information class.
Definition: QtsHttpSystem.h:27
enum _QTS_HTTP_API_RESULTS_ QTS_HTTP_API_RESULTS
enum _QTS_HTTP_SYSTEM_API_VERSION_ QTS_HTTP_SYSTEM_API_VERSION
Content of API Response.
Definition: QtsHttpComm.h:61