author | unc0rr |
Wed, 28 Nov 2018 17:56:59 +0100 | |
changeset 14337 | acc96bccca6e |
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 |
} |