|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.beans.configuration.MSConfigurator
This abstract class is the base class for the component MSDeviceConfigurator and MOConfigurator. This class stores all the group infomation that are to be Configured. This class sets up TCP connection to the ManagementServer. This connection is used by its subclasses to perform the Configuration.
| Field Summary | |
protected java.applet.Applet |
applet
|
protected boolean |
debug
|
protected java.lang.String |
debugInstanceName
|
protected java.util.Vector |
infoCacheVec
|
protected com.adventnet.management.ManagementServices |
mc
|
protected java.lang.String |
serverHostName
|
protected java.lang.String |
serverPortNum
|
| Constructor Summary | |
MSConfigurator()
Default Constructor. |
|
MSConfigurator(java.applet.Applet appletArg)
Applet Constructor. |
|
| Method Summary | |
void |
addGroup(MSGroupInfoCache groupInfoCacheArg)
Adds the GroupInformation to the list of groups to be configured. |
void |
addGroup(java.lang.String groupNameArg,
ConfigInfo infoArg,
java.lang.Object[] objArrArg)
Adds the GroupInformation to the list of groups to be configured. |
void |
addGroups(java.lang.String[] groupNameArr,
ConfigInfo[] infoArr,
java.lang.Object[] objArr)
Adds all the group information to the list of groups to be configured. |
void |
addGroups(java.lang.String[] groupNameArr,
ConfigInfo infoArg,
java.lang.Object[] objArr)
Adds all the group information to the list of groups to be configured. |
void |
addMSGroupInfoCaches(MSGroupInfoCache[] infoCachesArg)
Adds the GroupInformation to the list of groups to be configured. |
protected void |
debug(java.lang.Object messageArg)
|
void |
dispose()
Method to stop the ManagementClient. |
boolean |
getDebug()
Returns debug value. |
java.lang.String |
getDebugName()
Returns the debug name that is set. |
java.lang.String |
getServerHostName()
Returns the ManagementServer host name. |
java.lang.String |
getServerPortNum()
Returns the ManagementServer port number. |
abstract void |
processException(com.adventnet.management.Property p,
java.lang.Exception exp)
|
void |
resetAll()
Clears all the groups added to the MSConfigurator |
void |
setDebug(boolean bool)
Sets the debug value. |
void |
setDebugName(java.lang.String name)
Sets the debug name to be displayed. |
void |
setServerHostName(java.lang.String serverHostNameArg)
Sets the name of the machine, where the ManageemntServer is running . |
void |
setServerPortNum(java.lang.String serverPortNumArg)
Sets the port number, where the ManagementServer is running . |
protected void |
setUpManagementClient()
Sets up the ManagementClient for communicating with the ManagementServer. |
abstract void |
startConfiguration()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.applet.Applet applet
protected java.lang.String serverHostName
protected java.lang.String serverPortNum
protected com.adventnet.management.ManagementServices mc
protected java.util.Vector infoCacheVec
protected boolean debug
protected java.lang.String debugInstanceName
| Constructor Detail |
public MSConfigurator()
public MSConfigurator(java.applet.Applet appletArg)
| Method Detail |
public java.lang.String getServerHostName()
public java.lang.String getServerPortNum()
public void setServerHostName(java.lang.String serverHostNameArg)
serverHostNameArg - Device name where the ManagementServer is running.public void setServerPortNum(java.lang.String serverPortNumArg)
serverPortNumArg - Device port number where the ManagementServer is running.public void resetAll()
public void addGroup(java.lang.String groupNameArg,
ConfigInfo infoArg,
java.lang.Object[] objArrArg)
throws java.lang.Exception
groupNameArg - Name of the group to be added.infoArg - The configInfo name where the group present.objArrArg - User defined array that will be passed to the following methods of infoArg :
getConfigValueFor , getConfigIndexFor ,
getUserStringArrayToSave and validateConfigGroup .
public void addGroups(java.lang.String[] groupNameArr,
ConfigInfo[] infoArr,
java.lang.Object[] objArr)
throws java.lang.Exception
groupNameArr - Array of groups to be added.infoArr - The configInfo name where the correponding group is present.objArrArg - User defined array that will be passed to the following methods of infoArg :
getConfigValueFor , getConfigIndexFor ,
getUserStringArrayToSave and validateConfigGroup .
public void addGroups(java.lang.String[] groupNameArr,
ConfigInfo infoArg,
java.lang.Object[] objArr)
throws java.lang.Exception
groupNameArr - Array of groups to be added.infoArr - The configInfo name where the groups present.objArrArg - User defined array that will be passed to the following methods of infoArg :
getConfigValueFor , getConfigIndexFor ,
getUserStringArrayToSave and validateConfigGroup .public void addGroup(MSGroupInfoCache groupInfoCacheArg)
groupInfoCacheArg - Specific group information.public void addMSGroupInfoCaches(MSGroupInfoCache[] infoCachesArg)
infoCachesArg[] - Array of group information.public void dispose()
protected void setUpManagementClient()
public void setDebug(boolean bool)
bool - Set true, if debug is needed.public boolean getDebug()
protected void debug(java.lang.Object messageArg)
public java.lang.String getDebugName()
public void setDebugName(java.lang.String name)
name - Name to be displayed while the debug message is shown.
public abstract void startConfiguration()
throws java.lang.Exception
public abstract void processException(com.adventnet.management.Property p,
java.lang.Exception exp)
processException in interface com.adventnet.management.ExceptionListener
|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||