📄 msgobj.java~1~
字号:
package com.gps.center.fatherpack;
import java.net.DatagramSocket;
import java.nio.channels.SelectionKey;
import java.net.InetAddress;
public class MsgObj {
public MsgObj() {
//cMsgtype:1--TCPMSG,2--DEVICEUDPMSG,3--SMSMSG
//4--TCPSENDTODEVICE,5--UDPSENDTODEVICE,6--SMSSENDTODEVICE,7--TCPSENDTOTERMINAL,8--TCPRETURNTERMINAL
this.cMsgType = 0;
this.cMsg = "";
this.cPhoneNum = "";
// this.cSocket = null;
this.cDeviceAdd = null;
this.cUdpPort = 0;
this.cUdpSocket = null;
}
public int cMsgType;//车台消息类型
public String cMsg;//消息实体
public String cDeviceID;//设备ID
public String cPhoneNum;//电话号码
// public SocketChannel cSocket = null;
public DatagramSocket cUdpSocket;//
// public String cUdpIP;
public InetAddress cDeviceAdd;
public int cUdpPort;
public SelectionKey cSelectionKey;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -