| Package | Description |
|---|---|
| org.miloss.fgsms.agentcore |
| Modifier and Type | Method and Description |
|---|---|
static org.miloss.fgsms.services.interfaces.datacollector.AddMachineAndProcessDataResponseMsg |
OSAgentHelper.AddMachineAndProcessDataRequestMsg(org.miloss.fgsms.services.interfaces.datacollector.AddMachineAndProcessDataRequestMsg req) |
static void |
HelperBase.discoverEndpoints()
calls all
IEndpointDiscovery interfaces to discover the location
of FGSMS's server, if configured |
static boolean |
PersistentStorage.doWork(boolean pooled)
return true if successful, false means all endpoints are down, lets delay
for a bit then try again
|
static Properties |
ConfigLoader.loadProperties()
this is a faster mechanism to initialize the config.
|
static boolean |
StatisticalHelper.send(org.miloss.fgsms.services.interfaces.datacollector.AddStatisticalDataRequestMsg req)
Attempts to send statistical data to the fgsms DCS service
|
static org.miloss.fgsms.services.interfaces.policyconfiguration.SetProcessListByMachineResponseMsg |
OSAgentHelper.SetMachineInfo(org.miloss.fgsms.services.interfaces.policyconfiguration.SetProcessListByMachineRequestMsg req)
Sends the current machine configuration information to the fgsms PCS
service If it cannot be reached, null is returned.
|
static org.miloss.fgsms.services.interfaces.policyconfiguration.GlobalPolicy |
PolicyFetch.TryFetchGlobalPolicy()
* Attempts to retrieve the current global policy from the fgsms server
A successful return typically indicates that the server is up and
running.
|
static org.miloss.fgsms.services.interfaces.policyconfiguration.ServicePolicy |
PolicyFetch.TryFetchPolicy(String URI,
org.miloss.fgsms.services.interfaces.common.PolicyType policyType,
String domainname,
String hostname)
Gets a service policy from the fgsms server under the context of the an
agent meaning that if the policy does not exist, it will be created.
|
static boolean |
StatusHelper.tryUpdateStatus(boolean isrunning,
String URI,
String message,
boolean ispooled,
org.miloss.fgsms.services.interfaces.common.PolicyType policyType,
String domainname,
String hostname)
returns false if the status could not be sent
|
| Constructor and Description |
|---|
ConfigLoader()
loads the config from the properties file.
|
ConfigLoader(boolean p)
create an empty config loader object and initializes the client proxy
objects to the initial state, no configuration settings will be
available.
|
ConfigLoader(Properties p)
Allows for setting up the config via a provided properties instance
|
Copyright © 2008–2017 MIL-OSS. All rights reserved.