Package uk.co.westhawk.snmp.pdu
Class InformPdu_vec
java.lang.Object
java.util.Observable
uk.co.westhawk.snmp.stack.Pdu
uk.co.westhawk.snmp.stack.InformPdu
uk.co.westhawk.snmp.pdu.InformPdu_vec
The InformPdu_vec class will inform a manager about a number of objects (OIDs), based on the Inform request.
Specify with addOid()
the OIDs that should be informed with this
InformPdu request. No more than count
(see constructor)
should be added.
Add an Observer to the InformPdu with addObserver()
, and
send the InformPdu with send()
.
Note, this PDU should be sent to port 162 (the default trap port) by default. You will have to create a SnmpContext with the ListeningContextFace.DEFAULT_TRAP_PORT as parameter!
Inform Requests are sent between managers. It is a kind of 'acknowlegded' trap since the receiving end should send a Response Pdu as reply. The varbind list has the same elements as the TrapPduv2.
- Since:
- 4_12
- Version:
- $Revision: 3.5 $ $Date: 2006/11/29 16:12:50 $
- Author:
- Birgit Arkesteijn
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.co.westhawk.snmp.stack.Pdu
addOid, addOid, addOid, addOid, addOid, getContext, getErrorIndex, getErrorStatus, getErrorStatusString, getMsgType, getReqId, getRequestVarbinds, getResponseVarbinds, getRetryIntervals, isTimedOut, notifyObservers, send, send, setRetryIntervals, toString, waitForSelf
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers
-
Constructor Details
-
InformPdu_vec
Constructor.- Parameters:
con
- The context of the requestcount
- The number of OIDs to be get
-