author | Wuzzy <Wuzzy2@mail.ru> |
Sat, 17 Mar 2018 04:37:13 +0100 | |
changeset 13235 | 9f5023a5f9e1 |
parent 13119 | 1e39b8749072 |
child 13416 | cdf69667593b |
permissions | -rw-r--r-- |
12147 | 1 |
use mio; |
2 |
||
3 |
use server::server::HWServer; |
|
4 |
use server::actions::Action; |
|
5 |
use server::actions::Action::*; |
|
6 |
use protocol::messages::HWProtocolMessage; |
|
7 |
use protocol::messages::HWServerMessage::*; |
|
8 |
||
13119
1e39b8749072
separated the server logic from all the async io mess.
alfadur
parents:
12853
diff
changeset
|
9 |
pub fn handle(server: &mut HWServer, token: usize, message: HWProtocolMessage) { |
12147 | 10 |
match message { |
11 |
_ => warn!("Unimplemented!"), |
|
12 |
} |
|
13 |
} |