author | alfadur |
Thu, 04 Oct 2018 13:26:48 -0400 | |
changeset 13859 | ff468792298a |
parent 13829 | 54725a1d1db8 |
child 14395 | e5db279308d7 |
permissions | -rw-r--r-- |
13771 | 1 |
use mio; |
13829 | 2 |
use log::*; |
13771 | 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 |
} |