@Override public void channelRemoved(MessageChannel channel) { ChannelID clientID = channel.getChannelID(); try { clientStateStore.deleteClientState(clientID); } catch (ClientNotFoundException e) { throw new AssertionError(e); } fireDestroyedEvent(new ConnectionID(ConnectionID.NULL_JVM_ID, clientID.toLong(), uid)); }