com.adventnet.snmp.snmp2
Class SnmpNotifyModule

java.lang.Object
  extended by com.adventnet.snmp.snmp2.SnmpNotifyModule

 class SnmpNotifyModule
extends java.lang.Object


Field Summary
(package private)  java.util.Vector failedInformRequest
           
(package private)  SnmpNotifyFilterProfileTable filterProfileTable
           
(package private)  SnmpNotifyFilterTable filterTable
           
(package private)  java.util.Vector informResponsePDU
           
(package private)  SnmpNotifyTable notifyTable
           
(package private)  SnmpTargetParamsTable paramsTable
           
(package private)  SecurityModelTable smt
           
 
Constructor Summary
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)
           
 java.util.Vector getFailedInformRequest()
           
 java.util.Vector getInformResponsePDUList()
           
(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

informResponsePDU

java.util.Vector informResponsePDU

failedInformRequest

java.util.Vector failedInformRequest
Constructor Detail

SnmpNotifyModule

SnmpNotifyModule()
Default constructor.

Method Detail

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()