|
JoeSNMP API 0.3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.protocols.snmp.SnmpSession.ByteArrayInfo
private static class SnmpSession.ByteArrayInfo
Encapsulates a byte array and the number of bytes of valid data in the array. The length passed to the constructor is normally less then the length of the encapsulated array.
| Field Summary | |
|---|---|
private byte[] |
m_buf
The buffer |
private int |
m_length
The valid length of the buffer |
| Constructor Summary | |
|---|---|
SnmpSession.ByteArrayInfo(byte[] buf,
int length)
Builds an encapuslated array with the passed buffer and its valid length set to length. |
|
| Method Summary | |
|---|---|
byte[] |
array()
returns the encapsulated array |
int |
size()
Returns the valid length of the encapsulate array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private byte[] m_buf
private int m_length
| Constructor Detail |
|---|
public SnmpSession.ByteArrayInfo(byte[] buf,
int length)
buf - The buffer.length - The valid length of the buffer.| Method Detail |
|---|
public byte[] array()
public int size()
|
JoeSNMP API 0.3.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||