|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpNotifyFilterProfileTable
This class maintains a list of all SnmpNotifyFilterProfileEntry objects and provides methods to operate on the list.
Constructor Summary | |
SnmpNotifyFilterProfileTable(com.adventnet.snmp.snmp2.SnmpTargetParamsTable tAddrParams)
Constructs a new SnmpNotifyFilterProfileTable with the specified SnmpTargetParamsTable. |
Method Summary | |
boolean |
addEntry(SnmpNotifyFilterProfileEntry entry)
Adds the SnmpNotifyFilterProfileEntry object to the list of SnmpNotifyFilterProfileEntry objects maintained in this class. |
void |
deSerialize()
DeSerializes the file "FilterProfileEntry.ser" to get a list of SnmpNotifyFilterProfileEntry objects. |
void |
deSerialize(java.io.ObjectInputStream in)
DeSerializes the SnmpNotifyFilterProfileEntry objects from the particular input Stream to the list of SnmpNotifyFilterProfileEntry objects. |
SnmpNotifyFilterProfileEntry |
getEntry(byte[] index)
Gets the SnmpNotifyFilterProfileEntry associated with the specified key. |
SnmpNotifyFilterProfileEntry |
getEntry(java.lang.Object key)
Gets the SnmpNotifyFilterProfileEntry associated with the specified key. |
java.util.Enumeration |
getEnumeration()
Returns an enumeration of all the SnmpNotifyFilterProfileEntry objects maintained in this class. |
SnmpNotifyFilterProfileEntry |
getMatchingEntry(byte[] paramsName)
Gets the SnmpNotifyFilterProfileEntries corresponding to the paramsName. |
void |
removeAllEntries()
Deletes all the SnmpNotifyFilterProfileEntry objects maintained in this class. |
boolean |
removeEntry(byte[] index)
Deletes the SnmpNotifyFilterProfileEntry corresponding to the index from the list of SnmpNotifyFilterProfileEntry objects. |
boolean |
removeEntry(SnmpNotifyFilterProfileEntry entry)
Deletes this particlar SnmpNotifyFilterProfileEntry object from the list of SnmpNotifyFilterProfileEntry objects. |
void |
serialize()
Stores the list of SnmpNotifyFilterProfileEntry objects in the serialized file "FilterProfileEntry.ser". |
void |
serialize(java.io.ObjectOutputStream out)
Serializes the list of SnmpNotifyFilterProfileEntry objects into particular output Stream specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SnmpNotifyFilterProfileTable(com.adventnet.snmp.snmp2.SnmpTargetParamsTable tAddrParams)
tAddrParams
- The SnmpTargetParamsTable to be used for creating a new
SnmpNotifyFilterProfileTable.Method Detail |
public java.util.Enumeration getEnumeration()
public void removeAllEntries()
public boolean addEntry(SnmpNotifyFilterProfileEntry entry)
entry
- The SnmpNotifyFilterProfileEntry which needs to be added to the list
of SnmpNotifyFilterProfileEntry objects.java.lang.NullPointerException
- is the entry is null.public SnmpNotifyFilterProfileEntry getEntry(java.lang.Object key)
key
- The key corresponding to which the SnmpNotifyFilterProfileEntry
is to be retrieved.java.lang.NullPointerException
- if the key is null.public SnmpNotifyFilterProfileEntry getEntry(byte[] index)
index
- The index corresponding to which the SnmpNotifyFilterProfileEntry
is to be retrieved.public boolean removeEntry(byte[] index)
index
- The index for which the SnmpNotifyFilterProfileEntry object is to
be deleted.java.lang.NullPointerException
- if the index is null.public boolean removeEntry(SnmpNotifyFilterProfileEntry entry)
entry
- The SnmpNotifyFilterProfileEntry object that is to be deleted.public void serialize()
public void deSerialize()
public void serialize(java.io.ObjectOutputStream out)
out
- The ObjectOutputStream for serialization.public void deSerialize(java.io.ObjectInputStream in)
in
- The ObjectInputStream for deSerializationpublic SnmpNotifyFilterProfileEntry getMatchingEntry(byte[] paramsName)
paramsName
- The SnmpTargetParamsName corresponding to which the entry
is to be retrieved.java.lang.NullPointerException
- if the paramsName is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |