com.tivoli.twg.snmputils
Class NsapVbl

java.lang.Object
  extended bycom.tivoli.twg.snmputils.VariableBinding
      extended bycom.tivoli.twg.snmputils.NsapVbl

Deprecated. No longer used

public class NsapVbl
extends VariableBinding

NSAP address variable binding.


Field Summary
 
Fields inherited from class com.tivoli.twg.snmputils.VariableBinding
oid
 
Constructor Summary
NsapVbl(java.lang.String oid, java.lang.String value)
          Deprecated. Constructor using object type for value
 
Method Summary
 void addToPdu(SNMPPDU pdu)
          Deprecated. Adds the variable binding to the specified PDU
static int getMIBType()
          Deprecated. Describes the type of MIB I represent.
static int getType()
          Deprecated. Describes the type of variable binding I represent.
 java.lang.String getValue()
          Deprecated. Returns the value for this variable binding as a primitive
 java.lang.Object getValueAsObject()
          Deprecated. Returns the value for this variable binding as an Object
 int size()
          Deprecated. Returns the size of the variable binding
 
Methods inherited from class com.tivoli.twg.snmputils.VariableBinding
getOid, setOid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NsapVbl

public NsapVbl(java.lang.String oid,
               java.lang.String value)
Deprecated. 
Constructor using object type for value

Parameters:
oid - string for the OID of this variable binding
Method Detail

getType

public static int getType()
Deprecated. 
Describes the type of variable binding I represent.

Returns:
SNMP_SYNTAX_NSAPADDR
See Also:
SNMPPDU

getMIBType

public static int getMIBType()
Deprecated. 
Describes the type of MIB I represent.

Returns:
TWGMIBItem2.TYPE_NSAPADDRESS
See Also:
TWGMIBItem2

getValue

public java.lang.String getValue()
Deprecated. 
Returns the value for this variable binding as a primitive

Returns:
variable binding value as a primitive type

getValueAsObject

public java.lang.Object getValueAsObject()
Deprecated. 
Returns the value for this variable binding as an Object

Specified by:
getValueAsObject in class VariableBinding
Returns:
variable binding value as an Object

addToPdu

public void addToPdu(SNMPPDU pdu)
Deprecated. 
Adds the variable binding to the specified PDU

Specified by:
addToPdu in class VariableBinding
Parameters:
pdu - SNMPPDU to add variable binding to

size

public int size()
Deprecated. 
Returns the size of the variable binding

Overrides:
size in class VariableBinding
Returns:
size of the variable binding
See Also:
VariableBinding