code: void reconnect_to_event(String name) {
  
          Enumeration callback_structs = event_callback_map.elements();
          while (callback_structs.hasMoreElements()) {
              EventCallBackStruct callback_struct = (EventCallBackStruct) callback_structs.nextElement();
              if (callback_struct.channel_name.equals(name) && (callback_struct.callback != null)) {
                  try {
                      EventChannelStruct event_channel_struct = channel_map.get(name);
                      callback_struct.filter_id = add_filter_for_channel(event_channel_struct, callback_struct.filter_constraint);
                      callback_struct.filter_ok = true;
                  } catch (DevFailed e1) {
                      callback_struct.filter_ok = false;
                  }
              }
          }
  
      }
docs: ===============================================================