Active Virtual Network Management Prediction (AVNMP) Classes

snmp.agent
Class GetRspPdu

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

public class GetRspPdu
extends Pdu
implements java.io.Serializable

This class implements an SNMP GetResponse PDU. This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.

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
GetRspPdu(SnmpAgentContext 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

GetRspPdu

public GetRspPdu(SnmpAgentContext 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