author | alfadur |
Fri, 07 Dec 2018 18:21:06 +0300 | |
changeset 14379 | e5db279308d7 |
parent 13811 | 54725a1d1db8 |
permissions | -rw-r--r-- |
13803 | 1 |
use mio; |
13811 | 2 |
use log::*; |
13803 | 3 |
|
4 |
use crate::{ |
|
5 |
server::{ |
|
14379 | 6 |
core::HWServer, |
13803 | 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 |
} |