Class SetPdu_vec


public class SetPdu_vec extends SetPdu

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 Details

    • SetPdu_vec

      public SetPdu_vec(SnmpContextBasisFace con, int count)
      Constructor.
      Parameters:
      con - The context of the request
      count - The number of OIDs to be get