Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class StringPdu

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

public class StringPdu
extends Pdu
implements java.io.Serializable

This class

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

Field Summary
 java.lang.String value
          The value.
 
Fields inherited from class snmp.Pdu
answered, errind, errstat, msg_type, reqid, varbinds
 
Constructor Summary
StringPdu(SnmpContext con)
          Construct an object - calls super class.
 
Method Summary
 void new_value(int n, varbind var)
          Retreive the new value from var if n is 0.
 void tell_them()
          Notify 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
 

Field Detail

value

public java.lang.String value
The value.
Constructor Detail

StringPdu

public StringPdu(SnmpContext con)
Construct an object - calls super class.
Parameters:
con - SNMP connection information.
Method Detail

new_value

public void new_value(int n,
                      varbind var)
Retreive the new value from var if n is 0.
Overrides:
new_value in class Pdu
Parameters:
n - If 0, update value in this object, else do nothing.

tell_them

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

Active Virtual Network Management Prediction (AVNMP) Classes