gameServer2/src/server/handlers/inroom.rs
author alfadur
Thu, 08 Mar 2018 15:01:18 -0500
changeset 13119 1e39b8749072
parent 12853 a9d105dc5c95
child 13416 cdf69667593b
permissions -rw-r--r--
separated the server logic from all the async io mess.

use mio;

use server::server::HWServer;
use server::actions::Action;
use server::actions::Action::*;
use protocol::messages::HWProtocolMessage;
use protocol::messages::HWServerMessage::*;

pub fn handle(server: &mut HWServer, token: usize, message: HWProtocolMessage) {
    match message {
        _ => warn!("Unimplemented!"),
    }
}