From 170834bac14091fd4e58a93e0361a0026fb5614b Mon Sep 17 00:00:00 2001 From: esoe Date: Mon, 10 Oct 2022 16:00:25 +0300 Subject: [PATCH] qq --- src/main/java/ru/molokoin/ExchangeServer.java | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/java/ru/molokoin/ExchangeServer.java b/src/main/java/ru/molokoin/ExchangeServer.java index 24badd6..65ee20c 100644 --- a/src/main/java/ru/molokoin/ExchangeServer.java +++ b/src/main/java/ru/molokoin/ExchangeServer.java @@ -1,5 +1,18 @@ package ru.molokoin; public class ExchangeServer { - + public static Thread server = new Thread(new ServerLauncher()); + + //Запуск сервера + public void enable(ExchangeServer server){ + // + } + //Остановка сервера + public void disable(ExchangeServer server){ + // + } + public static void main(String[] args) { + server.start(); + + } }