Class GetPdu_vec


public class GetPdu_vec extends GetPdu

The GetPdu_vec class will ask for a number of objects (OIDs), based on the Get 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.13 $ $Date: 2006/11/29 16:12:50 $
Author:
Birgit Arkesteijn
See Also:
  • Constructor Details

    • GetPdu_vec

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