|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.nms.topodb.ManagedObject
com.adventnet.nms.topodb.TopoObject
com.adventnet.nms.topodb.Network
public class Network
This class extends the TopoObject class and represents an IP network or sub-network. This class has "Discover" property to check whether the discovery for a particular Network is to be performed. It also has fields to indicate the status of the Discovery process.
| Field Summary |
|---|
| Fields inherited from class com.adventnet.nms.topodb.TopoObject |
|---|
PROCEEDSTATUSPOLL |
| Constructor Summary | |
|---|---|
Network()
Constructor to instantiate a Network object The classname, isNetwork, tester(max), netmask(255.255.255.0) and type(Network) properties of Managed Object is set using this constructor. |
|
Network(java.lang.String netaddr,
java.lang.String mask)
Constructor to instantiate a Network object with the Ipaddress and the netmask arguments. |
|
Network(java.lang.String netaddr,
java.lang.String mask,
java.lang.String domainName)
Constructor to instantiate a Network object with the Ipaddress and the netmask arguments. |
|
Network(TopoObject o)
Constructor to instantiate a new Network object from an existing network object. |
|
| Method Summary | |
|---|---|
com.adventnet.nms.topodb.corba.SeverityStateEnum |
checkStatus_CT()
corba: Network_CIOperations interface method. |
protected int |
checkStatus()
This method is called to check the status of the object. |
java.lang.Object |
clone()
Returns a cloned copy of the Network object. |
boolean |
getDiscover()
Gets whether discovery is being done on this network or not. |
int |
getDiscoveryStatus()
Gets the discovery status for the network. |
java.lang.String |
getDiscoveryStringStatus()
Gets the discovery status for the network as a string. |
java.lang.String |
getParentNetmask()
Gets the Parent Netmask for the given Network object. |
java.lang.String |
getParentNetwork()
Gets the Parent Network for the given Network object. |
com.adventnet.nms.common.corba.Property_CT[] |
getProperties_CT()
corba: Network_CIOperations interface method. |
java.util.Properties |
getProperties()
Returns the Properties of the Network object. |
com.adventnet.nms.topodb.corba.SeverityStateEnum |
getStatus_CT()
corba: Network_CIOperations interface method. |
java.lang.String[] |
getSubNetMasks_CT()
corba: Network_CIOperations interface method. |
java.util.Vector |
getSubNetMasks()
Gets the list of netmasks of all Sub Nets of this Network. |
java.lang.String[] |
getSubNets_CT()
corba: Network_CIOperations interface method. |
java.util.Vector |
getSubNets()
Gets the list of SubNets of this Network. |
NetworkTieRefHolder |
getTieRefHolder_Network()
corba: To get the tie ref holder for the object. |
com.adventnet.nms.common.corba.Property_CT[] |
getUserProperties_CT()
corba: Network_CIOperations interface method. |
void |
setDiscover(boolean discover)
Sets whether discovery is being done on this network or not. |
void |
setDiscoveryStatus(int discoveryStatus)
Sets the discovery status for the network. |
void |
setParentNetmask(java.lang.String net)
Sets the given Netmask as the Parent Netmask for this Network. |
void |
setParentNetwork(java.lang.String net)
Sets the given Network as the Parent Network for this Network object. |
void |
setProperties_CT(com.adventnet.nms.common.corba.Property_CT[] propertyList)
corba: Network_CIOperations interface method. |
void |
setProperties(java.util.Properties p)
Sets the Network object's properties. |
void |
setSubNetMasks_CT(java.lang.String[] subnetmasks)
corba: Network_CIOperations interface method. |
void |
setSubNetMasks(java.util.Vector subNetMasks)
Sets the list of netmasks of all Sub Nets of this Network. |
void |
setSubNets_CT(java.lang.String[] subNets)
corba: Network_CIOperations interface method. |
void |
setSubNets(java.util.Vector subNets)
Sets The list of Sub Nets of this Network. |
| Methods inherited from class com.adventnet.nms.topodb.TopoObject |
|---|
checkDHCPNodeStatus, getBaseMibs, getCommunity, getContextName, getDomainName, getIpAddress, getIsDHCP, getIsInterface, getIsNetwork, getIsNode, getIsRouter, getIsSNMP, getNetmask, getSnmpport, getTieRefHolder_TopoObject, getUserName, getVersion, getWriteCommunity, setBaseMibs, setCommunity, setContextName, setDomainName, setIpAddress, setIsDHCP, setIsInterface, setIsNetwork, setIsNode, setIsRouter, setIsSNMP, setNetmask, setSnmpport, setUserName, setVersion, setWriteCommunity, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.adventnet.nms.topodb.corba.TopoObject_CIOperations |
|---|
getBaseMibs, getCommunity, getIpAddress, getIsInterface, getIsNetwork, getIsNode, getIsRouter, getIsSNMP, getNetmask, getSnmpport, getWriteCommunity, setBaseMibs, setCommunity, setIpAddress, setIsInterface, setIsNetwork, setIsNode, setIsRouter, setIsSNMP, setNetmask, setSnmpport, setWriteCommunity |
| Methods inherited from interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperations |
|---|
getClassname, getFailureCount, getFailureThreshold, getGroupNames, getKey, getKeyName, getManaged, getName, getPollInterval, getStatusChangeTime, getStatusUpdateTime, getTester, getType, getUClass, getWebNMS, pollStatus, setFailureThreshold, setGroupNames, setManaged, setName, setPollInterval, setStatus, setStatusChangeTime, setStatusUpdateTime, setTester, setType, setUClass, setWebNMS |
| Constructor Detail |
|---|
public Network()
public Network(java.lang.String netaddr,
java.lang.String mask)
netaddr - The Network address of this network.mask - The netmask of this network.
public Network(java.lang.String netaddr,
java.lang.String mask,
java.lang.String domainName)
netaddr - The Network address of this network.mask - The netmask of this network.domainName - The domainName of this network.public Network(TopoObject o)
o - Existing Network object| Method Detail |
|---|
public void setParentNetwork(java.lang.String net)
net - The Network which is to be set as the Parent Network.getParentNetwork()public java.lang.String getParentNetwork()
setParentNetwork(java.lang.String)public void setParentNetmask(java.lang.String net)
net - The Netmask which is to be set as the Parent Netmask.getParentNetmask()public java.lang.String getParentNetmask()
setParentNetmask(java.lang.String)public boolean getDiscover()
getDiscover in interface com.adventnet.nms.topodb.corba.Network_CIOperationsManagedObject.getManaged(),
setDiscover(boolean)public void setDiscover(boolean discover)
setDiscover in interface com.adventnet.nms.topodb.corba.Network_CIOperationsdiscover - the boolean value that needs to be set which would state the manage status of the Network.ManagedObject.setManaged(boolean),
getDiscover()public java.util.Vector getSubNets()
getSubNetMasks(),
setSubNets(java.util.Vector)public void setSubNets(java.util.Vector subNets)
subNets - Vector of all the sub networks of this network
that has been added to the Topology Database.setSubNetMasks(Vector),
getSubNets()public java.util.Vector getSubNetMasks()
getSubNets(),
setSubNetMasks(java.util.Vector)public void setSubNetMasks(java.util.Vector subNetMasks)
subNetMasks - Vector of all the sub netmasks of all the subnets of this
network added by the WebNMS system to the Topology Database.setSubNets(Vector),
getSubNetMasks()public int getDiscoveryStatus()
1 - YET_TO_BEGIN 2 - IN_PROGRESS 3 - FINISHED 4 - DISCOVERY_DISABLED ( takes this value if eitherThe Default value for discoverystatus of a network is YET_TO_BEGINgetDiscover()is "false" orManagedObject.getManaged()is "false".)
getDiscoveryStringStatus(),
setDiscoveryStatus(int)public void setDiscoveryStatus(int discoveryStatus)
discoveryStatus - The discoveryStatus of a network as an integer.getDiscoveryStatus()public java.lang.String getDiscoveryStringStatus()
1 - YET_TO_BEGIN 2 - IN_PROGRESS 3 - FINISHED 4 - DISCOVERY_DISABLED ( takes this value if either DISCOVER is "false" or MANAGED is "false".)
getDiscoveryStatus()public java.util.Properties getProperties()
getProperties in interface DBInterfacegetProperties in class TopoObject
NodeList, InterfaceList, discover, discoveryStatus, subNets, subNetNetmasks
and all the properties of this object's super classes.
ManagedObject.getProperties(),
setProperties(java.util.Properties)public java.lang.Object clone()
clone in interface DBInterfaceclone in class TopoObjectpublic void setProperties(java.util.Properties p)
setProperties in interface DBInterfacesetProperties in class TopoObjectp - The values of the fields of this class and all its
super classes.
NodeList, InterfaceList, discover, discoveryStatus, subNets, subNetNetmasks
and all the properties of this object's super classes.
ManagedObject.setProperties(Properties),
getProperties()
protected int checkStatus()
throws java.rmi.RemoteException
checkStatus in class ManagedObjectjava.rmi.RemoteException - if any error occurs.public java.lang.String[] getSubNetMasks_CT()
getSubNetMasks_CT in interface com.adventnet.nms.topodb.corba.Network_CIOperationssetSubNetMasks_CT(java.lang.String[])public java.lang.String[] getSubNets_CT()
getSubNets_CT in interface com.adventnet.nms.topodb.corba.Network_CIOperationssetSubNets_CT(java.lang.String[])public com.adventnet.nms.topodb.corba.SeverityStateEnum checkStatus_CT()
checkStatus_CT in interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperationscheckStatus_CT in class TopoObjectpublic com.adventnet.nms.topodb.corba.SeverityStateEnum getStatus_CT()
getStatus_CT in interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperationsgetStatus_CT in class TopoObjectpublic com.adventnet.nms.common.corba.Property_CT[] getUserProperties_CT()
getUserProperties_CT in interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperationsgetUserProperties_CT in class TopoObjectpublic void setProperties_CT(com.adventnet.nms.common.corba.Property_CT[] propertyList)
setProperties_CT in interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperationssetProperties_CT in class TopoObjectgetProperties_CT()public com.adventnet.nms.common.corba.Property_CT[] getProperties_CT()
getProperties_CT in interface com.adventnet.nms.topodb.corba.ManagedObject_CIOperationsgetProperties_CT in class TopoObjectsetProperties_CT(com.adventnet.nms.common.corba.Property_CT[])public void setSubNets_CT(java.lang.String[] subNets)
setSubNets_CT in interface com.adventnet.nms.topodb.corba.Network_CIOperationsgetSubNets_CT()public void setSubNetMasks_CT(java.lang.String[] subnetmasks)
setSubNetMasks_CT in interface com.adventnet.nms.topodb.corba.Network_CIOperationsgetSubNetMasks_CT()public NetworkTieRefHolder getTieRefHolder_Network()
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||