|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGObject
com.tivoli.twg.engine.TWGPersistentObject
com.tivoli.twg.engine.TWGManagedObject
com.tivoli.twg.snmp.TWGSNMPDevice
com.tivoli.twg.rmon.TWGRMONDevice
This class represents a base level SNMP Device. This is the class that all other TWGSNMPxxxx device types are derived from. It represents the existance of an SNMP agent at a particular IP address, and the existance of at least part of MIB II.
Field Summary |
---|
Fields inherited from class com.tivoli.twg.snmp.TWGSNMPDevice |
---|
deviceTracker, Engine, Stack |
Fields inherited from class com.tivoli.twg.engine.TWGPersistentObject |
---|
CLASS_NAME, SIZEOF_BYTE, SIZEOF_CHAR, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_SHORT |
Constructor Summary | |
---|---|
TWGRMONDevice()
Construct A TWGSNMPDevice instance into the system. |
|
TWGRMONDevice(java.lang.String Address,
java.lang.String Context,
int SubNet)
Construct A TWGSNMPDevice instance into the system. |
Method Summary | |
---|---|
protected void |
copyTo(TWGManagedObject managedObject)
Copy instance data to another managed object. |
void |
Delete()
Destructor for TWGNativeManagedObject: remove object from lists |
void |
Destroy()
Destroy for TWGNativeManagedObject: send delete to NetMgr |
protected static TWGRMONDevice |
GetRMONDevice(java.lang.String Address)
|
static TWGRMONDevice |
GetRMONDeviceFromID(long ID)
|
protected static int |
GetRMONDeviceID(java.lang.String Address)
|
protected void |
restoreData(TWGPersistentObjectDictionary dictionary,
boolean resolveObjectReferences)
Method for restoring persistent object data. |
protected void |
saveData(TWGPersistentObjectDictionary dictionary)
Method for saving persistent object data. |
Methods inherited from class com.tivoli.twg.engine.TWGPersistentObject |
---|
enableAsyncWrites, fromPersistID, initialize, isNewPersistentStore, isSaveRequired, PersistID, restore, restoreAll, save, save, setSaveRequired, terminate, toPersistID |
Methods inherited from class com.tivoli.twg.engine.TWGObject |
---|
AllObjects, AllObjects, DumpTWGObjects, FindObject, isDeleted, isNewObject, isPersistent, isPersistent, isValid, isValid, ObjectID, setDistinctObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGRMONDevice(java.lang.String Address, java.lang.String Context, int SubNet)
Address
- An IP address, in string format.Context
- An SNMP V1 Community name.SubNet
- The subnet on which this device exists.public TWGRMONDevice()
Method Detail |
protected void copyTo(TWGManagedObject managedObject)
copyTo
in class TWGSNMPDevice
managedObject
- target managed object.protected static int GetRMONDeviceID(java.lang.String Address)
protected static TWGRMONDevice GetRMONDevice(java.lang.String Address)
public static TWGRMONDevice GetRMONDeviceFromID(long ID)
protected void saveData(TWGPersistentObjectDictionary dictionary) throws TWGPersistentObjectSaveException
saveData
in class TWGSNMPDevice
dictionary
- used to collect persistent object.
TWGPersistentObjectSaveException
- thrown to abort save procedure.protected void restoreData(TWGPersistentObjectDictionary dictionary, boolean resolveObjectReferences) throws TWGPersistentObjectRestoreException
restoreData
in class TWGSNMPDevice
resolveObjectReferences
- used to indicate if object references should be
resolved during restore.dictionary
- used to restore persistent object.
TWGPersistentObjectRestoreException
- thrown to abort restore procedure.public void Delete()
Delete
in class TWGSNMPDevice
public void Destroy() throws TWGObjectDestroyException
Destroy
in class TWGSNMPDevice
TWGObjectDestroyException
- if error during destroy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |