/** * Sends the current machine configuration information to the fgsms PCS * service If it cannot be reached, null is returned. * * @param req * @return * @throws ConfigurationException */ public static SetProcessListByMachineResponseMsg SetMachineInfo(SetProcessListByMachineRequestMsg req) throws ConfigurationException { if (cfg == null) { Init(); } discoverEndpoints(); req.setClassification(cfg.classlevel); try { return Send(req); } catch (Exception ex) { log.log(Level.ERROR, "could not retrieve a policy for the specified url", ex); return null; } }