class ServerMessageValidator implements MessageValidator<ServerProtocol> {

  @Override
  public ServerProtocol cast(Message message) {
    return message.getServer();
  }

  @Inject public  ServerMessageValidator();

}