Active Virtual Network Management Prediction (AVNMP) Classes

snmp
Class varbind

java.lang.Object
  |
  +--snmp.varbind
All Implemented Interfaces:
java.io.Serializable

public class varbind
extends java.lang.Object
implements java.io.Serializable

This class implements the SNMP varbind.

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

Constructor Summary
varbind(java.lang.String Oid)
          Create a null varbind set the object id of the input.
varbind(java.lang.String Oid, AsnObject val)
          Create a varbind and set the Oid and Value.
varbind(varbind var)
          Set this varbind to the value of the input varbind.
 
Method Summary
 AsnObjectId get_Oid()
          Return the object id of this varbind.
 AsnObject get_value()
          Return the value of this varbind.
 java.lang.String toString()
          Display the varbind name and value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

varbind

public varbind(varbind var)
Set this varbind to the value of the input varbind.
Parameters:
var - Another varbind.

varbind

public varbind(java.lang.String Oid)
Create a null varbind set the object id of the input.
Parameters:
Oid - The object id.

varbind

public varbind(java.lang.String Oid,
               AsnObject val)
Create a varbind and set the Oid and Value.
Parameters:
Oid - The object Id.
val - The varbind value.
Method Detail

get_Oid

public AsnObjectId get_Oid()
Return the object id of this varbind.
Returns:
The object id.

get_value

public AsnObject get_value()
Return the value of this varbind.
Returns:
The varbind value.

toString

public java.lang.String toString()
Display the varbind name and value.
Overrides:
toString in class java.lang.Object

Active Virtual Network Management Prediction (AVNMP) Classes