All Packages Class Hierarchy This Package Previous Next Index
Class jsnmp.SnmpVar
java.lang.Object
|
+----jsnmp.SnmpVar
- public abstract class SnmpVar
- extends Object
This base class acts as the template for all other SNMP variables.
-
type
-
-
SnmpVar()
-
-
decode(ByteArrayInputStream, int)
- Method used to extract (decode) the received byte stream for
the current SNMP variable.
-
encode()
- Method used to create (encode) the byte stream for the current
SNMP variable.
-
getType()
- Class method to extract the variable type value.
-
getValue()
- Method used by all SNMP variable definitions to fetch the variable
value.
-
toString()
- Method used to produce a printable string for variable value.
type
protected byte type
SnmpVar
public SnmpVar()
getType
public byte getType()
- Class method to extract the variable type value.
getValue
public abstract Object getValue()
- Method used by all SNMP variable definitions to fetch the variable
value.
toString
public abstract String toString()
- Method used to produce a printable string for variable value.
- Overrides:
- toString in class Object
encode
public abstract byte[] encode()
- Method used to create (encode) the byte stream for the current
SNMP variable.
decode
public abstract void decode(ByteArrayInputStream b,
int length) throws SnmpException
- Method used to extract (decode) the received byte stream for
the current SNMP variable.
All Packages Class Hierarchy This Package Previous Next Index