@Service public class ServerServiceImpl extends Object implements ServerService
| 构造器和说明 |
|---|
ServerServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkChannel(String uniqueKey)
检查连接
|
Server |
getServer()
获取本地服务配置信息
|
boolean |
sendBase64Cmd(String uniqueKey,
String cmd)
发送指令 (base64字符串)
|
boolean |
sendHexCmd(String uniqueKey,
String cmd)
发送指令 (16进制字符串)
|
boolean |
sendStrCmd(String uniqueKey,
String cmd)
发送指令 (string字符串)
|
public Server getServer()
ServerServicegetServer 在接口中 ServerServicepublic boolean sendHexCmd(String uniqueKey, String cmd)
ServerServicesendHexCmd 在接口中 ServerServiceuniqueKey - 管道唯一标示cmd - 指令内容public boolean sendBase64Cmd(String uniqueKey, String cmd)
ServerServicesendBase64Cmd 在接口中 ServerServiceuniqueKey - 管道唯一标示cmd - 指令内容public boolean sendStrCmd(String uniqueKey, String cmd)
ServerServicesendStrCmd 在接口中 ServerServiceuniqueKey - 管道唯一标示cmd - 指令内容public boolean checkChannel(String uniqueKey)
ServerServicecheckChannel 在接口中 ServerServiceuniqueKey - 管道唯一标示Copyright © 2018. All rights reserved.