|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpNotifyFilterEntry
An element of a filter profile.
Field Summary | |
static int |
EXCLUDED
|
static int |
INCLUDED
|
Constructor Summary | |
SnmpNotifyFilterEntry(byte[] profileName,
int[] subTree)
Constructs a new SnmpNotifyFilterEntry with the specified SnmpFilterProfileEntry and the SnmpNotifyFilterSubtree. |
Method Summary | |
byte[] |
getFilterMask()
Retrieves the snmpNotifyFilterMask value associated with this object. |
byte[] |
getFilterProfileName()
Gets the SnmpFilterProfileName associated with this object. |
int[] |
getFilterSubTree()
Gets the SnmpFilterSubTree associated with this object. |
int |
getFilterType()
Retrieves the snmpNotifyFilterType value associated with this object. |
java.lang.Object |
getKey()
Returns the key associated with this SnmpNotifyFilterEntry |
static java.lang.Object |
getKey(byte[] filterProfileName,
int[] filterSubTree)
Retrieves the key corresponding to the given snmpNotifyFilterProfileName and snmpNotifyFilterSubTree. |
int |
getRowStatus()
Retrieves the snmpNotifyFilterRowStatus value associated with this object. |
int |
getStorageType()
Retrieves the snmpNotifyFilterStorageType value associated with this object. |
void |
setFilterMask(byte[] mask)
Sets the filterMask value if the size of the mask value is between 0 to 16. |
void |
setFilterType(int type)
Sets the filterType value associated with this object. |
void |
setRowStatus(int status)
Sets the snmpNotifyFilterRowStatus value associated with this object. |
void |
setStorageType(int type)
Sets the snmpNotifyFilterStorageType value associated with this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INCLUDED
public static final int EXCLUDED
Constructor Detail |
public SnmpNotifyFilterEntry(byte[] profileName, int[] subTree)
profileName
- The snmpNotifyFilterProfileName used to create a new
SnmpNotifyFilterEntry.subTree
- The SnmpNotifyFilterSubTree used to create a new
SnmpNotifyFilterEntry.Method Detail |
public byte[] getFilterProfileName()
public int[] getFilterSubTree()
public void setFilterMask(byte[] mask)
mask
- The snmpNotifyFilterMask value to be associated with
this object.public byte[] getFilterMask()
public void setFilterType(int type)
type
- The snmpNotifyFilterType value to be associated with this
object.public int getFilterType()
public void setStorageType(int type)
type
- The snmpNotifyFilterStorageType value to be associated with
this object.public int getStorageType()
public void setRowStatus(int status)
status
- The snmpNotifyFilterRowStatus value to be associated with
this object.public int getRowStatus()
public java.lang.Object getKey()
String
Object.java.lang.NullPointerException
- if the filterProfileName or
the filterSubTree is null.public static java.lang.Object getKey(byte[] filterProfileName, int[] filterSubTree)
filterProfileName
- The SnmpNotifyFilterProfileName for which the key is
to be retrieved.filterSubTree
- The SnmpNotifyFilterSubTree for which the key is to be
retrieved.String
Object. This method will return
null if any of the argument is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |