code: protected void handleUDPSrvDeReg(SrvDeReg srvDeReg, InetSocketAddress localAddress, InetSocketAddress remoteAddress)
      {
          try
          {
              boolean update = srvDeReg.isUpdating();
              ServiceInfo service = ServiceInfo.from(srvDeReg);
              uncacheService(service, update);
              udpSrvAck.perform(localAddress, remoteAddress, srvDeReg, SLPError.NO_ERROR);
          }
          catch (ServiceLocationException x)
          {
              udpSrvAck.perform(localAddress, remoteAddress, srvDeReg, x.getSLPError());
          }
      }
docs: Handles unicast UDP SrvDeReg message arrived to this directory agent.
  <br />
  This directory agent will reply with an acknowledge containing the result of the deregistration.
  
  @param srvDeReg      the SrvDeReg message to handle
  @param localAddress  the socket address the message arrived to
  @param remoteAddress the socket address the message was sent from