com.adventnet.snmp.snmp2
Class SnmpNotifyModule
java.lang.Object
com.adventnet.snmp.snmp2.SnmpNotifyModule
class SnmpNotifyModule
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
paramsTable
SnmpTargetParamsTable paramsTable
notifyTable
SnmpNotifyTable notifyTable
filterTable
SnmpNotifyFilterTable filterTable
filterProfileTable
SnmpNotifyFilterProfileTable filterProfileTable
smt
SecurityModelTable smt
informResponsePDU
java.util.Vector informResponsePDU
failedInformRequest
java.util.Vector failedInformRequest
SnmpNotifyModule
SnmpNotifyModule()
- Default constructor.
sendNotification
java.util.Vector sendNotification(SnmpSession session,
SnmpPDU pdu)
throws SnmpException
- Authenticates and sends the notification to all the entries that can avail
the notification filtering facility.
- Parameters:
session - The SnmpSession instance using which the notification is to
be sent.pdu - The SnmpPDU instance that contains the SnmpOID to be used for
notification filtering.
- Returns:
- Vector which contains a list of trap/inform request PDU's that were
sent if the notifyType is TRAP/INFORM.
- Throws:
SnmpException
getByteString
static java.lang.String getByteString(byte[] array,
int offset,
int length)
compareByteArray
boolean compareByteArray(byte[] a,
byte[] b)
getInformResponsePDUList
public java.util.Vector getInformResponsePDUList()
getFailedInformRequest
public java.util.Vector getFailedInformRequest()