新增:zhub 服务 ping 回应
This commit is contained in:
parent
3f2db60432
commit
a812e2d78d
@ -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