1 packageorg.yoki.edu.common.protocol.portal.v1.sender;2
3 importlombok.Getter;4 importlombok.Setter;5 importorg.yoki.edu.common.protocol.portal.v1.builder.PortalV1PapMsgBuilder;6 importorg.yoki.edu.common.protocol.portal.exception.PortalException;7 importorg.yoki.edu.common.protocol.portal.msg.PortalV1Msg;8 importorg.yoki.edu.common.protocol.portal.v1.parser.PortalV1MsgParser;9
10 importjava.io.IOException;11 importjava.net.DatagramPacket;12 importjava.net.DatagramSocket;13 importjava.net.InetAddress;14
15 /**
16 * Portal报文发送工具类
17 * 内部调用DatagramSocket进行UDP报文发送18 *19 *@authorSky$20 * @Description: TODO21 * @date 2017/10/31$ 17:57$22 */
23 public classPortalV1PapMsgSender {24
25 @Setter26 @Getter27 private int timeOut = 5000;28
29 @Setter30 @Getter31 private Integer receiverPort = null;32
33 /**
34 * REQ_AUTH 0x03 Client----->Se