Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class GetPdu_vec

java.lang.Object
  |
  +--java.util.Observable
        |
        +--snmp.Pdu
              |
              +--snmp.GetPdu_vec
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class GetPdu_vec
extends Pdu
implements java.io.Serializable

This class decodes a stream of ASN.1 into a PduSequence.

Version:
$Revision: 1.1.1.1 $ $State: Exp $
Author:
Steve Bush
See Also:
Serialized Form

Fields inherited from class snmp.Pdu
answered, errind, errstat, msg_type, reqid, varbinds
 
Constructor Summary
GetPdu_vec(SnmpContext con, int count)
          Construct a new get vector.
 
Method Summary
 void new_value(int n, varbind var)
          Puts an input varbind into a vector.
 void tell_them()
          Notify observers of the value.
 
Methods inherited from class snmp.Pdu
add_oid, add_vb, agentSend, fillin, getErrorIndex, getErrorStatus, run, send, sendme, set_msg_type
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetPdu_vec

public GetPdu_vec(SnmpContext con,
                  int count)
Construct a new get vector.
Parameters:
con - SNMP connection info.
count - Number of requests in vector.
Method Detail

new_value

public void new_value(int n,
                      varbind var)
Puts an input varbind into a vector.
Overrides:
new_value in class Pdu
Parameters:
n - Index of vector.
var - The varbind to place at offset n of the vector.

tell_them

public void tell_them()
Notify observers of the value.
Overrides:
tell_them in class Pdu

Active Virtual Network Management Prediction (AVNMP) Classes