if (!handlers.containsKey(type)) {
error("missing handler for type: " + type, channel);
return;
}
Map<String, Object> data = (Map<String, Object>) map.get("data");
handlers.get(type).handleRequest(new NettyInteractiveRequest(data),
new NettyInteractiveChannel(channel));
}