code: private void removeCallBackStruct(Hashtable map, EventCallBackStruct cb_struct) throws DevFailed {
          removeFilters(cb_struct);
          String callback_key = cb_struct.device.name().toLowerCase() +
                  "/" + cb_struct.attr_name + "." + cb_struct.event_name;
          map.remove(callback_key);
      }
docs: ===============================================================