public class Agent extends Object
Constructor and Description |
---|
Agent()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns the hostname for the agent.
|
int |
getPid()
Returns the pid for the agent.
|
String |
getVersion()
Returns the version for the agent.
|
void |
setHost(String host)
Sets the hostname for the agent.
|
void |
setPid(int pid)
Sets the pid for the agent.
|
void |
setVersion(String version)
Sets the version for the agent.
|
String |
toString()
Returns a string representation of the object.
|
public void setHost(String host)
host
- The hostname for the agentpublic String getHost()
public void setPid(int pid)
pid
- The pid for the agentpublic int getPid()
public void setVersion(String version)
version
- The version for the agentpublic String getVersion()
Copyright © 2018. All rights reserved.