Revize c4383c00
Přidáno uživatelem Eliška Mourycová před více než 3 roky(ů)
Server/ServerApp/Program.cs | ||
---|---|---|
25 | 25 |
public class Program |
26 | 26 |
{ |
27 | 27 |
|
28 |
public static void NotifyUserMessage(string message)
|
|
28 |
public void NotifyUserMessage(string message) |
|
29 | 29 |
{ |
30 | 30 |
Console.WriteLine("Received user message: " + message); |
31 | 31 |
} |
... | ... | |
42 | 42 |
return; |
43 | 43 |
} |
44 | 44 |
|
45 |
// commands accepting test |
|
46 |
//create a thread for commands accepting: |
|
47 |
//Thread inputThread = new Thread(CommandsAcceptor.AcceptCommand); |
|
48 |
//inputThread.Start(); |
|
45 |
|
|
49 | 46 |
|
50 | 47 |
|
51 | 48 |
// is this obsolete? |
... | ... | |
78 | 75 |
//parse(new DateTime(2019, 10, 5), , interval = 1, wholeDay = true) |
79 | 76 |
|
80 | 77 |
|
78 |
// commands accepting test |
|
79 |
// create a thread for commands accepting: |
|
80 |
CommandsAcceptor ca = new CommandsAcceptor(dd, controller); |
|
81 |
Thread inputThread = new Thread(ca.AcceptCommand); |
|
82 |
inputThread.Start(); |
|
83 |
|
|
81 | 84 |
// connection test |
82 | 85 |
ConnectionTest(controller, config); |
86 |
|
|
87 |
|
|
83 | 88 |
|
84 | 89 |
|
85 | 90 |
Console.ReadLine(); |
Také k dispozici: Unified diff
Re #8942. Started implementing admin commands.