}
public void unsubscribeAll() throws IOException{
for(Iterator<SubSet> it = topics.iterator(); it.hasNext();){
try {
conn.sendMessage(new OutputWampUnsubscribeMessage( it.next().sub.getTopicId() ));
} catch (SerializationException e) {
log.error("Serialization error on unsubscribe message");
}
it.remove();
}