提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
|
|
4 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
5 |
import com.sun.jna.Pointer; |
|
6 |
|
|
7 |
/** |
|
8 |
CLIENT_CreateTransmitTunnel 接口输入参数 |
|
9 |
*/ |
|
10 |
public class NET_IN_CREATE_TRANSMIT_TUNNEL extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
/< 结构体大小 |
|
13 |
*/ |
|
14 |
public int dwSize; |
|
15 |
/** |
7412dd
|
16 |
/< 代理类型 {@link com.iailab.netsdk.lib.enumeration.EM_TRANSMIT_PROXY_TYPE } |
149dd0
|
17 |
*/ |
H |
18 |
public int emProxyType; |
|
19 |
/** |
7412dd
|
20 |
/< 代理模式 {@link com.iailab.netsdk.lib.enumeration.EM_TRANSMIT_PROXY_MODE } |
149dd0
|
21 |
*/ |
H |
22 |
public int emProxyMode; |
|
23 |
/** |
|
24 |
/< 当emProxyType为EM_TRANSMIT_PROXY_TYPE_GENERAL 是有效 |
|
25 |
*/ |
|
26 |
public int nPort; |
|
27 |
/** |
|
28 |
/< emProxyMode为EM_TRANSMIT_PROXY_MODE_CASCADE时有效,与Port一起,组成需级联代理的服务 |
|
29 |
*/ |
|
30 |
public int nChannel; |
|
31 |
/** |
|
32 |
/< 字节对齐 |
|
33 |
*/ |
|
34 |
public byte[] szReserved=new byte[4]; |
|
35 |
|
|
36 |
/** |
|
37 |
* /< 隧道超时2分钟断线回调 |
|
38 |
*/ |
|
39 |
public NetSDKLib.fTransmitDisConnectCallBack cbDisConnectCallBack; |
|
40 |
|
|
41 |
/** |
|
42 |
* /< 隧道断线回调 |
|
43 |
*/ |
|
44 |
public NetSDKLib.fSubBizDisConnectCallBack cbDisConnectCallBackEx; |
|
45 |
/** |
|
46 |
/< 用户数据 |
|
47 |
*/ |
|
48 |
public Pointer dwUserData; |
|
49 |
public NET_IN_CREATE_TRANSMIT_TUNNEL(){ |
|
50 |
this.dwSize=this.size(); |
|
51 |
} |
|
52 |
} |