User-Flow, поиск, редактирование информации о себе

This commit is contained in:
RoyceDa
2026-02-05 01:22:39 +02:00
parent f74f4e7af7
commit 4a4cd81891
14 changed files with 415 additions and 13 deletions

View File

@@ -3,6 +3,8 @@ package com.rosetta.im;
import com.rosetta.im.client.ClientManager;
import com.rosetta.im.event.EventManager;
import com.rosetta.im.executors.Executor0Handshake;
import com.rosetta.im.executors.Executor1UserInfo;
import com.rosetta.im.executors.Executor3Search;
import com.rosetta.im.listeners.HandshakeCompleteListener;
import com.rosetta.im.listeners.ServerStopListener;
import com.rosetta.im.logger.Logger;
@@ -75,10 +77,11 @@ public class Boot {
}
/**
* Регистрация пакетов, обработчиков, событий приложения
* Запуск сервера, регистрация пакетов, обработчиков, событий приложения
* @return Boot
*/
public Boot bootstrap() {
this.server.start();
this.registerAllPackets();
this.registerAllExecutors();
this.registerAllEvents();
@@ -100,6 +103,8 @@ public class Boot {
private void registerAllExecutors() {
this.packetManager.registerExecutor(0, new Executor0Handshake(this.eventManager));
this.packetManager.registerExecutor(1, new Executor1UserInfo());
this.packetManager.registerExecutor(3, new Executor3Search(this.clientManager));
}
private void printBootMessage() {