Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class GetNextPdu

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

public class GetNextPdu
extends Pdu
implements java.io.Serializable

This class implements an SNMP GetNext PDU.

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
GetNextPdu(SnmpContext con)
          Build a getnext pdu.
 
Method Summary
 void new_value(int n, varbind a_var)
          Over-ride this method with one to set a new internal value.
 void tell_them()
          Notify the observers.
 
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

GetNextPdu

public GetNextPdu(SnmpContext con)
Build a getnext pdu. Assumes a request message. Could change to response message if agent.
Parameters:
con - SNMP connection information.
Method Detail

new_value

public void new_value(int n,
                      varbind a_var)
Description copied from class: Pdu
Over-ride this method with one to set a new internal value.
Overrides:
new_value in class Pdu
Parameters:
n - If 0, sets the varbind to input.
a_var - A varbind list.

tell_them

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

Active Virtual Network Management Prediction (AVNMP) Classes