![JAR search and dependency download from the Maven repository](/logo.png)
org.ocap.diagnostics.MIBObject.html Maven / Gradle / Ivy
MIBObject
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.ocap.diagnostics
Class MIBObject
java.lang.Object
org.ocap.diagnostics.MIBObject
public class MIBObject
- extends java.lang.Object
The interface represents a MIB Object. It contains the oid, as well as the encoding of the object with value formats corresponding to the ASN.1 definition of the object.
Constructor Summary | |
---|---|
MIBObject(java.lang.String oid,
byte[] data)
Constructs a MIB object. |
Method Summary | |
---|---|
byte[] |
getData()
Gets the current MIB object encoding in byte array form. |
java.lang.String |
getOID()
Gets the MIB object identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
MIBObject
public MIBObject(java.lang.String oid, byte[] data)
- Constructs a MIB object.
- Parameters:
oid
- Object Identifier of the MIB object.data
- Array of bytes representing the MIB encoding.
Method Detail |
---|
getOID
public java.lang.String getOID()
- Gets the MIB object identifier.
- Returns:
- Object identifier of this MIB object. The object ID SHALL be formatted as per RFC 1778 section 2.15.
getData
public byte[] getData()
- Gets the current MIB object encoding in byte array form. The
array is formatted according to the ASN.1 format of the MIB.
- Returns:
- A byte array representing the MIB object encoding.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2015 - 2025 Weber Informatics LLC | Privacy Policy