|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.services.proxy.ProxyInfo
class ProxyInfo
This class encapsulates the details of the SubAgent Host, Port and Community for a particular MBean. This class will be instantiated by the register() of the JmxProxy class.
| Field Summary | |
|---|---|
(package private) java.lang.String |
community
|
(package private) java.lang.String |
host
|
(package private) int |
port
|
(package private) java.lang.String |
version
|
| Constructor Summary | |
|---|---|
ProxyInfo()
Default Constructor for Proxy Info |
|
ProxyInfo(java.lang.String host,
int port,
java.lang.String community)
Three Argument Constructor with host, port and community. |
|
ProxyInfo(java.lang.String host,
int port,
java.lang.String community,
java.lang.String version)
Four Argument Constructor with host, port, community and version. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAgentCommunity()
Returns the Agent Community |
java.lang.String |
getAgentHost()
Returns the Agent Host |
int |
getAgentPort()
Returns the port |
java.lang.String |
getSNMPVersion()
Returns the SNMP Version |
void |
setAgentCommunity(java.lang.String community)
Sets the community with the given value |
void |
setAgentHost(java.lang.String host)
Sets the Agent Host with the given value |
void |
setAgentPort(int port)
Sets the port with the given value |
void |
setSNMPVersion(java.lang.String version)
Sets the SNMP Version with the given value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
int port
java.lang.String host
java.lang.String community
java.lang.String version
| Constructor Detail |
|---|
public ProxyInfo()
public ProxyInfo(java.lang.String host,
int port,
java.lang.String community)
host - The Host nameport - The Portcommunity - The community
public ProxyInfo(java.lang.String host,
int port,
java.lang.String community,
java.lang.String version)
host - The Host nameport - The Portcommunity - The communityversion - The SNMP Version| Method Detail |
|---|
public void setAgentPort(int port)
port - The Portpublic int getAgentPort()
public void setAgentCommunity(java.lang.String community)
community - The Agent Communitypublic java.lang.String getAgentCommunity()
public void setAgentHost(java.lang.String host)
The - Agent Communitypublic java.lang.String getAgentHost()
public java.lang.String getSNMPVersion()
public void setSNMPVersion(java.lang.String version)
version - The SNMP Version
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||