|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpNotifyEntry
The SnmpNotifyEntry selects a set of management targets which should receive notifications, as well as the type of notification which should be sent to each selected management target.
Field Summary | |
static int |
INFORM
|
static int |
TRAP
|
Constructor Summary | |
SnmpNotifyEntry(byte[] name)
Constructs a new SnmpNotifyEntry with the specified snmpNotifyName. |
Method Summary | |
java.lang.Object |
getKey()
Returns the key associated with this SnmpNotifyEntry. |
static java.lang.Object |
getKey(byte[] name)
Retrieves the key corresponding to the snmpNotifyName specified as parameter. |
byte[] |
getNotifyTag()
Retrieves the snmpNotifyTag value associated with this object. |
int |
getNotifyType()
Retrive the snmpNotifyType value associated with this object. |
int |
getRowStatus()
Retrieves the snmpNotifyRowStatus value associated with this object. |
int |
getStorageType()
Retrive the snmpNotifyStorageType value associated with this object. |
void |
setNotifyTag(byte[] tag)
Sets the snmpNotifyTag value associated with this object. |
void |
setNotifyType(int type)
Sets the snmpNotifyType value associated with this object. |
void |
setRowStatus(int status)
Sets the snmpNotifyRowStatus value associated with this object. |
void |
setStorageType(int type)
Sets the snmpNotifyStorageType 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 TRAP
public static final int INFORM
Constructor Detail |
public SnmpNotifyEntry(byte[] name)
name
- The snmpNotifyName to be used for creating a new
SnmpNotifyEntry.Method Detail |
public void setNotifyTag(byte[] tag)
tag
- The snmpNotifyTag value to be associated with
this object.public byte[] getNotifyTag()
public void setNotifyType(int type)
type
- The snmpNotifyType valuepublic int getNotifyType()
public void setStorageType(int type)
type
- The snmpNotifyStorageType value to be associated with
this object.public int getStorageType()
public void setRowStatus(int status)
status
- The snmpNotifyRowStatus value to be associated with
this object.public int getRowStatus()
public java.lang.Object getKey()
String Buffer
Object.public static java.lang.Object getKey(byte[] name)
name
- The snmpNotifyName for which the key is to be retrieved.String
Object.
returns null if the input argument is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |