Package uk.co.westhawk.snmp.pdu
Class SetPdu_vec
java.lang.Object
java.util.Observable
uk.co.westhawk.snmp.stack.Pdu
uk.co.westhawk.snmp.stack.SetPdu
uk.co.westhawk.snmp.pdu.SetPdu_vec
The SetPdu_vec class will set the value of a number of objects (OIDs), based on the Set request.
Specify with addOid() the OIDs that should be requested with this PDU request. No more than count (see constructor) should be added. Add an Observer to the PDU with addObserver(), and send the PDU with send().
If no exception occurred whilst receiving the response, the Object to the update() method of the Observer will be an array of varbinds, so they may contains any AsnObject type. If an exception occurred, that exception will be passed as the Object to the update() method.
- Version:
- $Revision: 3.14 $ $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
-
SetPdu_vec
Constructor.- Parameters:
con
- The context of the requestcount
- The number of OIDs to be get
-