code: private boolean checkIfHostHasChanged(EventChannelStruct event_channel_struct) {
          boolean retVal = false;
          try {
              IORdump dump = new IORdump(event_channel_struct.adm_device_proxy);
              String server_host = dump.get_hostname();
  
              //	Keep server_host name without Fully Qualify Domain Name
              int idx = server_host.indexOf('.');
              if (idx > 0)
                  server_host = server_host.substring(0, idx);
  
              if (!event_channel_struct.host.equals(server_host))
                  retVal = true;
          } catch (DevFailed e) { /* */ }
          return retVal;
      }
docs: ===============================================================