author | Wuzzy <Wuzzy2@mail.ru> |
Sat, 08 Dec 2018 14:19:11 +0100 | |
changeset 14401 | 8ad85859dd3f |
parent 14395 | e5db279308d7 |
permissions | -rw-r--r-- |
13771 | 1 |
use mio; |
13829 | 2 |
use log::*; |
13771 | 3 |
|
4 |
use crate::{ |
|
5 |
server::{ |
|
14395 | 6 |
core::HWServer, |
13771 | 7 |
coretypes::ClientId, |
8 |
}, |
|
9 |
protocol::messages::{ |
|
10 |
HWProtocolMessage |
|
11 |
}, |
|
12 |
}; |
|
13 |
||
14 |
pub fn handle(server: & mut HWServer, client_id: ClientId, message: HWProtocolMessage) { |
|
15 |
match message { |
|
16 |
_ => warn!("Unknown command"), |
|
17 |
} |
|
18 |
} |