提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
/** |
|
7 |
* @author 251823 |
|
8 |
* @version 1.0 |
|
9 |
* @description CLIENT_AttachTransmitInfo输入参数 |
|
10 |
* @date 2022/02/14 |
|
11 |
*/ |
|
12 |
public class NET_IN_ATTACH_TRANSMIT_INFO extends NetSDKLib.SdkStructure{ |
|
13 |
/** |
|
14 |
* 用户使用该结构体时,dwSize需赋值为sizeof(NET_IN_ATTACH_TRANSMIT_INFO) |
|
15 |
*/ |
|
16 |
public int dwSize; |
|
17 |
|
|
18 |
/** |
|
19 |
* 回调函数 |
|
20 |
*/ |
|
21 |
public NetSDKLib.AsyncTransmitInfoCallBack cbTransmitInfo; |
|
22 |
|
|
23 |
/** |
|
24 |
* 用户数据 |
|
25 |
*/ |
|
26 |
public Pointer dwUser; |
|
27 |
|
|
28 |
/** |
|
29 |
* Json请求数据,用户申请空间 |
|
30 |
*/ |
|
31 |
public Pointer szInJsonBuffer; |
|
32 |
|
|
33 |
/** |
|
34 |
* Json请求数据长度 ` |
|
35 |
*/ |
|
36 |
public int dwInJsonBufferSize; |
|
37 |
|
|
38 |
/** |
|
39 |
* TRUE-当设备支持时,使用子连接方式接收订阅数据 FALSE-只在主连接接收订阅数据 |
|
40 |
*/ |
|
41 |
public boolean bSubConnFirst; |
|
42 |
|
|
43 |
public NET_IN_ATTACH_TRANSMIT_INFO(){ |
|
44 |
this.dwSize = this.size(); |
|
45 |
} |
|
46 |
} |