新增:zhub 服务 ping 回应
This commit is contained in:
parent
9be0721de0
commit
074e5a0685
@ -95,6 +95,13 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
|
||||
}
|
||||
|
||||
String type = "";
|
||||
|
||||
// +ping
|
||||
if ("+ping".equals(readLine)) {
|
||||
send("+pong");
|
||||
continue;
|
||||
}
|
||||
|
||||
// 主题订阅消息
|
||||
if ("*3".equals(readLine)) {
|
||||
readLine = reader.readLine(); // $7 len()
|
||||
|
Loading…
Reference in New Issue
Block a user