globalListener.onResult(new SimpleEventResult(msg.getTopicId(), msg.getEvents()));
}
private void subscribe(SubSet s) throws IOException, SerializationException{
OutputWampSubscribeMessage msg = new OutputWampSubscribeMessage(s.sub.getTopicId());
conn.sendMessage(msg);
}