public class AgentDetails extends Object
| Constructor and Description |
|---|
AgentDetails(Configuration pConfig) |
AgentDetails(Map<AbstractDiscoveryMessage.Payload,Object> pMsgData)
Constructor used when the input has been parsed
|
AgentDetails(String pAgentId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgentId()
Get the ID specific for these agent
|
void |
setServerInfo(String pVendor,
String pProduct,
String pVersion)
Single method for updating the server information when the server has been detected
|
org.json.simple.JSONObject |
toJSONObject()
Get the details as JSON Object
|
String |
toString() |
void |
updateAgentParameters(String pUrl,
Boolean pSecured) |
public AgentDetails(String pAgentId)
public AgentDetails(Configuration pConfig)
public AgentDetails(Map<AbstractDiscoveryMessage.Payload,Object> pMsgData)
pMsgData - data send via multicastpublic void setServerInfo(String pVendor, String pProduct, String pVersion)
pVendor - vendor of the deteted containerpProduct - name of the containedpVersion - server version (not Jolokia's version!)public String getAgentId()
public org.json.simple.JSONObject toJSONObject()
Copyright © 2014. All Rights Reserved.