equal
deleted
inserted
replaced
1 use log::*; |
1 use log::*; |
2 use mio; |
2 use mio; |
3 |
3 |
4 use crate::{ |
4 use crate::{ |
5 protocol::messages::HWProtocolMessage, |
5 core::{server::HwServer, types::ClientId}, |
6 core::{server::HWServer, types::ClientId}, |
6 protocol::messages::HwProtocolMessage, |
7 }; |
7 }; |
8 |
8 |
9 pub fn handle(_server: &mut HWServer, _client_id: ClientId, message: HWProtocolMessage) { |
9 pub fn handle(_server: &mut HwServer, _client_id: ClientId, message: HwProtocolMessage) { |
10 match message { |
10 match message { |
11 _ => warn!("Unknown command"), |
11 _ => warn!("Unknown command"), |
12 } |
12 } |
13 } |
13 } |