|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.utils.agent.AgentParamOptions
public class AgentParamOptions
This class is for parsing the specified options for agent.
| Constructor Summary | |
|---|---|
AgentParamOptions()
Constructor for AgentParamOptions. |
|
AgentParamOptions(java.lang.String[] args)
constructor for AgentParamOptions with the Arguments. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAgentDir()
To get the Agent Directory. |
java.lang.String |
getCommunity()
Deprecated. this will be no Longer used. Getter of community. Default Value is null. |
int |
getDebugLevel()
getter of debugLevel. |
java.lang.String[] |
getLocalAddresses()
Deprecated. No longer used. getter of Agent Local Addresses. default value is null. |
java.lang.String |
getMibFile()
Deprecated. this is no longer used. getter of MibFileName. default value is null. |
int |
getPort()
Getter of Agent Port. |
int |
getTrapSendingPort()
Getter of Trap Sending Port if Seperate Session is needed. |
java.lang.String |
getVersion()
Getter of Version. |
java.lang.String |
getWriteCommunity()
Deprecated. this will be no Longer used. Getter of write community. default value is null. |
void |
init(java.lang.String[] args)
This method can be used to pass the commndLine arguements, -d debugLevel(0-6) -p port -t trapSendingPort. |
void |
setAgentDir(java.lang.String agentDir)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AgentParamOptions()
public AgentParamOptions(java.lang.String[] args)
args[] - The CommandLine arguements.| Method Detail |
|---|
public void init(java.lang.String[] args)
args[] - The CommandLine Arguments.public java.lang.String getAgentDir()
public void setAgentDir(java.lang.String agentDir)
public int getDebugLevel()
public int getTrapSendingPort()
public java.lang.String getMibFile()
public int getPort()
public java.lang.String getVersion()
public java.lang.String[] getLocalAddresses()
public java.lang.String getCommunity()
public java.lang.String getWriteCommunity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||