java.lang.Object | |||
↳ | com.sun.jmx.snmp.SnmpValue | ||
↳ | com.sun.jmx.snmp.SnmpString | ||
↳ | com.sun.jmx.snmp.SnmpStringFixed |
Represents an SNMP String defined with a fixed length.
The class is mainly used when dealing with table indexes for which one of the keys
is defined as a String
.
This API is a Sun Microsystems internal API and is subject to change without notice.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
SnmpStringFixed from the specified bytes array. | |||||||||||
Constructs a new
SnmpStringFixed with the specified Bytes array. | |||||||||||
Constructs a new
SnmpStringFixed from the specified String value. | |||||||||||
Constructs a new
SnmpStringFixed from the specified bytes array
with the specified length. | |||||||||||
Constructs a new
SnmpStringFixed from the specified Bytes array
with the specified length. | |||||||||||
Constructs a new
SnmpStringFixed from the specified String
with the specified length. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Appends an
SnmpOid representing an SnmpStringFixed to another OID. | |||||||||||
Scans an index OID, skip the string value and returns the position
of the next value.
| |||||||||||
Extracts the fixed-string from an index OID and returns its
value converted as an
SnmpOid . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new SnmpStringFixed
from the specified bytes array.
v | The bytes composing the fixed-string value. |
---|
Constructs a new SnmpStringFixed
with the specified Bytes
array.
v | The Bytes composing the fixed-string value.
|
---|
Constructs a new SnmpStringFixed
from the specified String
value.
v | The initialization value. |
---|
Constructs a new SnmpStringFixed
from the specified bytes
array
with the specified length.
l | The length of the fixed-string. |
---|---|
v | The bytes composing the fixed-string value. |
IllegalArgumentException | Either the length or the byte array is not valid.
|
---|
Constructs a new SnmpStringFixed
from the specified Bytes
array
with the specified length.
l | The length of the fixed-string. |
---|---|
v | The Bytes composing the fixed-string value. |
IllegalArgumentException | Either the length or the Byte array is not valid.
|
---|
Constructs a new SnmpStringFixed
from the specified String
with the specified length.
l | The length of the fixed-string. |
---|---|
s | The String composing the fixed-string value. |
IllegalArgumentException | Either the length or the String is not valid.
|
---|
Appends an SnmpOid
representing an SnmpStringFixed
to another OID.
l | Unused. |
---|---|
source | An OID representing an SnmpStringFixed value. |
dest | Where source should be appended. |
Scans an index OID, skip the string value and returns the position of the next value.
l | The number of successive array elements to be passed
in order to get the position of the next value.
These elements are passed starting at the start position. |
---|---|
index | The index array. |
start | The position in the index array. |
SnmpStatusException | There is no string value available at the start position. |
---|
Extracts the fixed-string from an index OID and returns its
value converted as an SnmpOid
.
l | The number of successive array elements to be retreived
in order to construct the OID.
These elements are retreived starting at the start position. |
---|---|
index | The index array. |
start | The position in the index array. |
SnmpStatusException | There is no string value available at the start position. |
---|