onbon.bx06
类 Bx6GControllerServer

java.lang.Object
  继承者 onbon.bx06.Bx6GController
      继承者 onbon.bx06.Bx6GControllerServer

public final class Bx6GControllerServer
extends Bx6GController

BX6G TCP 服務器控制器。

作者:
ONBON

嵌套类摘要
 
从类 onbon.bx06.Bx6GController 继承的嵌套类/接口
Bx6GController.RunMode
 
字段摘要
 
从类 onbon.bx06.Bx6GController 继承的字段
bx6Card, header, pingStatus, screenProfile, series, TIMEOUT
 
方法摘要
 void disconnect()
          中断连线。
 String getName()
          取得名称。
 String getNetId()
          取得 Net 编号。
 Bx6GController.RunMode getRunMode()
          取得运行模式。
 boolean isConnected()
          取得是否连线。
 byte[] send(onbon.bx06.message.Bx06MessageHeader header, onbon.bx06.message.Request req, String uiaID)
          执行命令。
 byte[] send(onbon.bx06.message.Request req, String uiaID)
          执行命令。
 
从类 onbon.bx06.Bx6GController 继承的方法
createFileReader, createFileReader, createFileWriter, createFileWriter, execute, genTxId, getControllerAddress, getHeader, getOutputBuffer, getScreenProfile, getSeries, ping, setControllerAddress, updatePingStatus
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getNetId

public String getNetId()
取得 Net 编号。

返回:
Net 编号。

getName

public String getName()
从类 Bx6GController 复制的描述
取得名称。

指定者:
类 Bx6GController 中的 getName
返回:
名称。

isConnected

public boolean isConnected()
从类 Bx6GController 复制的描述
取得是否连线。

指定者:
类 Bx6GController 中的 isConnected
返回:
是否连线。

getRunMode

public Bx6GController.RunMode getRunMode()
从类 Bx6GController 复制的描述
取得运行模式。

指定者:
类 Bx6GController 中的 getRunMode
返回:
运行模式。

disconnect

public void disconnect()
从类 Bx6GController 复制的描述
中断连线。

指定者:
类 Bx6GController 中的 disconnect

send

public byte[] send(onbon.bx06.message.Bx06MessageHeader header,
                   onbon.bx06.message.Request req,
                   String uiaID)
从类 Bx6GController 复制的描述
执行命令。

指定者:
类 Bx6GController 中的 send
参数:
header - 讯息表头。
req - 命令。
uiaID - 命令编号。
返回:
执行结果。

send

public byte[] send(onbon.bx06.message.Request req,
                   String uiaID)
从类 Bx6GController 复制的描述
执行命令。

指定者:
类 Bx6GController 中的 send
参数:
req - 命令。
uiaID - 命令编号。
返回:
执行结果。


Copyright © 2018 onbon. All rights reserved.