author | alfadur |
Wed, 31 Oct 2018 20:42:04 +0300 | |
changeset 14051 | e92cdb6d637e |
parent 13811 | 54725a1d1db8 |
child 14379 | e5db279308d7 |
permissions | -rw-r--r-- |
13803 | 1 |
use mio; |
13811 | 2 |
use log::*; |
13803 | 3 |
|
4 |
use crate::{ |
|
5 |
server::{ |
|
6 |
server::HWServer, |
|
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 |
} |