.
This commit is contained in:
parent
0ab33845f0
commit
79402950be
@ -75,12 +75,11 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
|
|||||||
}
|
}
|
||||||
|
|
||||||
CompletableFuture.runAsync(() -> {
|
CompletableFuture.runAsync(() -> {
|
||||||
// 消息 事件接收
|
|
||||||
new Thread(() -> {
|
|
||||||
if (!initSocket(0)) {
|
if (!initSocket(0)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 消息 事件接收
|
||||||
|
new Thread(() -> {
|
||||||
while (true) {
|
while (true) {
|
||||||
try {
|
try {
|
||||||
String readLine = reader.readLine();
|
String readLine = reader.readLine();
|
||||||
|
Loading…
Reference in New Issue
Block a user