private void sendQuery(IServerQuery query) { socket.Emit(query.GetType().Name, new JSONObject(query.ToJsonString())); }