Добавление 28 пакета в протокол
This commit is contained in:
@@ -19,6 +19,7 @@ import im.rosetta.executors.Executor24DeviceResolve;
|
||||
import im.rosetta.executors.Executor25Sync;
|
||||
import im.rosetta.executors.Executor26SignalPeer;
|
||||
import im.rosetta.executors.Executor27WebRTC;
|
||||
import im.rosetta.executors.Executor28IceServers;
|
||||
import im.rosetta.executors.Executor3Search;
|
||||
import im.rosetta.executors.Executor4OnlineState;
|
||||
import im.rosetta.executors.Executor6Message;
|
||||
@@ -48,6 +49,7 @@ import im.rosetta.packet.Packet24DeviceResolve;
|
||||
import im.rosetta.packet.Packet25Sync;
|
||||
import im.rosetta.packet.Packet26SignalPeer;
|
||||
import im.rosetta.packet.Packet27WebRTC;
|
||||
import im.rosetta.packet.Packet28IceServers;
|
||||
import im.rosetta.packet.Packet2Result;
|
||||
import im.rosetta.packet.Packet3Search;
|
||||
import im.rosetta.packet.Packet4OnlineSubscribe;
|
||||
@@ -204,6 +206,7 @@ public class Boot {
|
||||
this.packetManager.registerPacket(25, Packet25Sync.class);
|
||||
this.packetManager.registerPacket(26, Packet26SignalPeer.class);
|
||||
this.packetManager.registerPacket(27, Packet27WebRTC.class);
|
||||
this.packetManager.registerPacket(28, Packet28IceServers.class);
|
||||
}
|
||||
|
||||
private void registerAllExecutors() {
|
||||
@@ -227,6 +230,7 @@ public class Boot {
|
||||
this.packetManager.registerExecutor(25, new Executor25Sync(this.packetManager));
|
||||
this.packetManager.registerExecutor(26, new Executor26SignalPeer(this.clientManager, this.forwardUnitService));
|
||||
this.packetManager.registerExecutor(27, new Executor27WebRTC(this.forwardUnitService));
|
||||
this.packetManager.registerExecutor(28, new Executor28IceServers(this.forwardUnitService));
|
||||
}
|
||||
|
||||
private void printBootMessage() {
|
||||
|
||||
Reference in New Issue
Block a user