|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpNotifyFilterTable
This class maintains a list of filterProfiles used to determine whether particular management targets should receive particular notifications.
Method Summary | |
boolean |
addEntry(SnmpNotifyFilterEntry entry)
Adds the SnmpNotifyFilterEntry object to the list of SnmpNotifyFilterEntry objects maintained in this class. |
void |
deSerialize()
DeSerializes the file "FilterEntry.ser" to get a list of SnmpNotifyFilterEntry objects. |
void |
deSerialize(java.io.ObjectInputStream in)
DeSerializes the SnmpNotifyFilterEntry objects from the particular input Stream to the list of SnmpNotifyFilterEntry objects. |
SnmpNotifyFilterEntry |
getEntry(byte[] profileName,
int[] subTree)
Gets the SnmpNotifyFilterEntry associated with the specified key. |
SnmpNotifyFilterEntry |
getEntry(java.lang.Object key)
Gets the SnmpNotifyFilterEntry associated with the specified key. |
java.util.Enumeration |
getEnumeration()
Returns an enumeration of all the SnmpNotifyFilterEntry objects maintained in this class. |
java.util.Enumeration |
getMatchingFilterEntries(byte[] filterProfileName)
Gets the SnmpNotifyFilterEntries corresponding to the given filterProfileName as an Enumeration. |
void |
removeAllEntries()
Deletes all the SnmpNotifyFilterEntry objects maintained in this class. |
boolean |
removeEntry(byte[] profileName,
int[] subTree)
Deletes the SnmpNotifyFilterEntry corresponding to the index from the list of SnmpNotifyFilterEntry objects. |
boolean |
removeEntry(SnmpNotifyFilterEntry entry)
Deletes this particular SnmpNotifyFilterEntry object from the list of SnmpNotifyFilterEntry objects. |
void |
serialize()
Stores the list of SnmpNotifyFilterEntry objects in the serialized file "FilterEntry.ser" |
void |
serialize(java.io.ObjectOutputStream out)
Serializes the list of SnmpNotifyFilterEntry objects into particular output Stream specified. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.util.Enumeration getEnumeration()
public void removeAllEntries()
public boolean addEntry(SnmpNotifyFilterEntry entry)
entry
- The SnmpNotifyFilterEntry which needs to be added to the list
of SnmpNotifyFilterEntry objects.public SnmpNotifyFilterEntry getEntry(java.lang.Object key)
key
- The key corresponding to which the SnmpNotifyFilterEntry
is to be retrieved.public SnmpNotifyFilterEntry getEntry(byte[] profileName, int[] subTree)
profileName
- The snmpNotifyFilterProfileName corresponding to which
the SnmpNotifyFilterEntry is to be retrieved.subTree
- The snmpNotifyFilterSubTree corresponding to which the
SnmpNotifyFilterEntry is to be retrieved.public java.util.Enumeration getMatchingFilterEntries(byte[] filterProfileName)
filterProfileName
- The SnmpNotifyFilterProfileName
corresponding to which
the SnmpNotifyFilterEntries are to be retrieved.public boolean removeEntry(byte[] profileName, int[] subTree)
profileName
- The snmpNotifyFilterProfileName corresponding to which
the SnmpNotifyFilterEntry is to be deleted.subTree
- The snmpNotifyFilterSubTree corresponding to which the
SnmpNotifyFilterEntry is to be deleted.public boolean removeEntry(SnmpNotifyFilterEntry entry)
entry
- The SnmpNotifyFilterEntry object that is to be deleted.public void serialize()
public void deSerialize()
public void serialize(java.io.ObjectOutputStream out)
out
- The ObjectOutputStream for serializationpublic void deSerialize(java.io.ObjectInputStream in)
in
- The ObjectInputStream for deSerialization.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |