com.adventnet.snmp.snmp2
Class SnmpNotifyModule

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.SnmpNotifyModule

class SnmpNotifyModule
extends java.lang.Object


Field Summary
(package private)  SnmpNotifyFilterProfileTable filterProfileTable
           
(package private)  SnmpNotifyFilterTable filterTable
           
(package private)  SnmpNotifyTable notifyTable
           
(package private)  SnmpTargetParamsTable paramsTable
           
(package private)  SecurityModelTable smt
           
 
Constructor Summary
(package private) SnmpNotifyModule()
          Default constructor.
 
Method Summary
(package private)  boolean compareByteArray(byte[] a, byte[] b)
           
(package private) static java.lang.String getByteString(byte[] array, int offset, int length)
           
(package private)  java.util.Vector sendNotification(SnmpSession session, SnmpPDU pdu)
          Authenticates and sends the notification to all the entries that can avail the notification filtering facility.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramsTable

SnmpTargetParamsTable paramsTable

notifyTable

SnmpNotifyTable notifyTable

filterTable

SnmpNotifyFilterTable filterTable

filterProfileTable

SnmpNotifyFilterProfileTable filterProfileTable

smt

SecurityModelTable smt
Constructor Detail

SnmpNotifyModule

SnmpNotifyModule()
Default constructor.
Method Detail

sendNotification

java.util.Vector sendNotification(SnmpSession session,
                                  SnmpPDU pdu)
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.

getByteString

static java.lang.String getByteString(byte[] array,
                                      int offset,
                                      int length)

compareByteArray

boolean compareByteArray(byte[] a,
                         byte[] b)