All Packages Class Hierarchy This Package Previous Next Index
Class jsnmp.ASNTypes
java.lang.Object
|
+----jsnmp.ASNTypes
- public class ASNTypes
- extends Object
-
ASN_APPLICATION
-
-
ASN_BIT8
-
-
ASN_BIT_STR
-
-
ASN_BOOLEAN
-
-
ASN_CONSTRUCTOR
-
-
ASN_CONTEXT
-
-
ASN_EXTENSION_ID
-
-
ASN_INTEGER
-
-
ASN_LONG_LEN
-
-
ASN_NULL
-
-
ASN_OBJECT_ID
-
-
ASN_OCTET_STR
-
-
ASN_PRIMITIVE
-
-
ASN_PRIVATE
-
-
ASN_SEQUENCE
-
-
ASN_SET
-
-
ASN_UNIVERSAL
-
-
MAX_OID_LEN
-
-
MAX_SUBID
-
-
ASNTypes()
-
-
byteToInt(byte)
-
-
decodeVar(ByteArrayInputStream)
-
-
getLength(ByteArrayInputStream)
-
-
getTagLength(ByteArrayInputStream)
- Parse ASN header and return array with type, length.
-
IS_CONSTRUCTOR(byte)
-
-
IS_EXTENSION_ID(byte)
-
-
putLength(int)
- Build ASN length and return array of bytes
-
putTagLength(byte, int)
- build_header - builds an ASN header for an object with the type and
length specified.
MAX_SUBID
static int MAX_SUBID
MAX_OID_LEN
static int MAX_OID_LEN
ASN_BOOLEAN
static final byte ASN_BOOLEAN
ASN_INTEGER
static final byte ASN_INTEGER
ASN_BIT_STR
static final byte ASN_BIT_STR
ASN_OCTET_STR
static final byte ASN_OCTET_STR
ASN_NULL
static final byte ASN_NULL
ASN_OBJECT_ID
static final byte ASN_OBJECT_ID
ASN_SEQUENCE
static final byte ASN_SEQUENCE
ASN_SET
static final byte ASN_SET
ASN_UNIVERSAL
static final byte ASN_UNIVERSAL
ASN_APPLICATION
static final byte ASN_APPLICATION
ASN_CONTEXT
static final byte ASN_CONTEXT
ASN_PRIVATE
static final byte ASN_PRIVATE
ASN_PRIMITIVE
static final byte ASN_PRIMITIVE
ASN_CONSTRUCTOR
static final byte ASN_CONSTRUCTOR
ASN_LONG_LEN
static final byte ASN_LONG_LEN
ASN_EXTENSION_ID
static final byte ASN_EXTENSION_ID
ASN_BIT8
static final byte ASN_BIT8
ASNTypes
public ASNTypes()
decodeVar
public static SnmpVar decodeVar(ByteArrayInputStream pdu) throws SnmpException
putTagLength
static byte[] putTagLength(byte type,
int length)
- build_header - builds an ASN header for an object with the type and
length specified.
getTagLength
static int[] getTagLength(ByteArrayInputStream pdu) throws SnmpException
- Parse ASN header and return array with type, length.
Interprets the type and length of the current object.
Throws SnmpException in case of failure
putLength
static byte[] putLength(int length)
- Build ASN length and return array of bytes
getLength
private static int getLength(ByteArrayInputStream pdu) throws SnmpException
byteToInt
public static int byteToInt(byte b)
IS_CONSTRUCTOR
static boolean IS_CONSTRUCTOR(byte b)
IS_EXTENSION_ID
static boolean IS_EXTENSION_ID(byte b)
All Packages Class Hierarchy This Package Previous Next Index