public class BasicSessionEncoder extends Object
| 构造器和说明 |
|---|
BasicSessionEncoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApduEntity |
decodeGeneralCallByRespond(byte[] pdu)
解码响应总召唤指令
|
static ApduEntity |
decodeSTARTDTByRespond(byte[] pdu)
响应启动链路指令
|
static ApduEntity |
decodeTESTFRByRespond(byte[] pdu)
响应启动链路指令
|
static ApduEntity |
encodeGeneralCallAsduByRequest(short send)
编码总召唤命令
|
static byte[] |
encodeGeneralCallByRequest(short send)
发送总召唤指令
|
static ApduEntity |
encodePowerPulseCallAsduByRequest(short send)
编码PowerPulseCall
|
static byte[] |
encodeSFrameRespond(short accept)
S帧的确认报文:对来自从站的I帧进行确认,用于告诉从站,已经收到报文了
|
static byte[] |
encodeSTARTDTByRequest()
发送启动链路指令
|
static byte[] |
encodeTESTFRByRequest()
发送启动链路指令
|
public static byte[] encodeSFrameRespond(short accept)
throws Exception
accept - acceptException - 异常信息public static byte[] encodeSTARTDTByRequest()
throws Exception
Exception - 异常信息public static ApduEntity decodeSTARTDTByRespond(byte[] pdu) throws Exception
pdu - pud报文Exception - 异常信息public static byte[] encodeTESTFRByRequest()
throws Exception
Exception - 异常信息public static ApduEntity decodeTESTFRByRespond(byte[] pdu) throws Exception
pdu - pdu报文Exception - 异常信息public static ApduEntity encodeGeneralCallAsduByRequest(short send) throws Exception
send - 发送序号Exception - 异常信息public static byte[] encodeGeneralCallByRequest(short send)
throws Exception
send - 发送序号Exception - 异常信息public static ApduEntity decodeGeneralCallByRespond(byte[] pdu) throws Exception
pdu - pdu报文Exception - 异常信息public static ApduEntity encodePowerPulseCallAsduByRequest(short send) throws Exception
send - 发送序号Exception - 异常信息Copyright © 2024. All rights reserved.