Полная реализация синхронизации
This commit is contained in:
@@ -16,6 +16,7 @@ import im.rosetta.executors.Executor20GroupJoin;
|
||||
import im.rosetta.executors.Executor21GroupLeave;
|
||||
import im.rosetta.executors.Executor22GroupBan;
|
||||
import im.rosetta.executors.Executor24DeviceResolve;
|
||||
import im.rosetta.executors.Executor25Sync;
|
||||
import im.rosetta.executors.Executor3Search;
|
||||
import im.rosetta.executors.Executor4OnlineState;
|
||||
import im.rosetta.executors.Executor6Message;
|
||||
@@ -42,6 +43,7 @@ import im.rosetta.packet.Packet21GroupLeave;
|
||||
import im.rosetta.packet.Packet22GroupBan;
|
||||
import im.rosetta.packet.Packet23DeviceList;
|
||||
import im.rosetta.packet.Packet24DeviceResolve;
|
||||
import im.rosetta.packet.Packet25Sync;
|
||||
import im.rosetta.packet.Packet2Result;
|
||||
import im.rosetta.packet.Packet3Search;
|
||||
import im.rosetta.packet.Packet4OnlineSubscribe;
|
||||
@@ -181,6 +183,7 @@ public class Boot {
|
||||
this.packetManager.registerPacket(22, Packet22GroupBan.class);
|
||||
this.packetManager.registerPacket(23, Packet23DeviceList.class);
|
||||
this.packetManager.registerPacket(24, Packet24DeviceResolve.class);
|
||||
this.packetManager.registerPacket(25, Packet25Sync.class);
|
||||
}
|
||||
|
||||
private void registerAllExecutors() {
|
||||
@@ -201,6 +204,7 @@ public class Boot {
|
||||
this.packetManager.registerExecutor(21, new Executor21GroupLeave());
|
||||
this.packetManager.registerExecutor(22, new Executor22GroupBan());
|
||||
this.packetManager.registerExecutor(24, new Executor24DeviceResolve(this.clientManager, this.eventManager));
|
||||
this.packetManager.registerExecutor(25, new Executor25Sync(this.packetManager));
|
||||
}
|
||||
|
||||
private void printBootMessage() {
|
||||
|
||||
Reference in New Issue
Block a user