onbon.bx06
Class Bx6GMessageMgr

java.lang.Object
  extended by onbon.bx06.Bx6GMessageMgr
All Implemented Interfaces:
uia.comm.MessageManager

public final class Bx6GMessageMgr
extends Object
implements uia.comm.MessageManager

BX6G 协议管理程式。

Author:
ONBON

Method Summary
 byte[] decode(byte[] data)
           
 byte[] encode(byte[] data)
           
 String findCmd(byte[] data)
           
 String findTx(byte[] data)
           
 boolean isCallIn(String cmd)
           
 boolean validate(byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public byte[] decode(byte[] data)
Specified by:
decode in interface uia.comm.MessageManager

encode

public byte[] encode(byte[] data)
Specified by:
encode in interface uia.comm.MessageManager

findCmd

public String findCmd(byte[] data)
Specified by:
findCmd in interface uia.comm.MessageManager

findTx

public String findTx(byte[] data)
Specified by:
findTx in interface uia.comm.MessageManager

isCallIn

public boolean isCallIn(String cmd)
Specified by:
isCallIn in interface uia.comm.MessageManager

validate

public boolean validate(byte[] data)
Specified by:
validate in interface uia.comm.MessageManager


Copyright © 2020 onbon. All rights reserved.