/** * A client is disconnecting from the broker. * * @param context the environment the operation is being executed under. * @param info * @param error null if the client requested the disconnect or the error * that caused the client to disconnect. * @throws Exception */ public void removeConnection(ConnectionContext context, ConnectionInfo info, Throwable error) throws Exception { super.removeConnection(context, info, error); sendAsyncToSlave(new RemoveInfo(info.getConnectionId())); }