org.opennms.mock.snmp
Class MockSnmpValue.OctetStringSnmpValue

java.lang.Object
  extended by org.opennms.mock.snmp.MockSnmpValue
      extended by org.opennms.mock.snmp.MockSnmpValue.OctetStringSnmpValue
All Implemented Interfaces:
SnmpValue
Enclosing class:
MockSnmpValue

public static class MockSnmpValue.OctetStringSnmpValue
extends MockSnmpValue


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.mock.snmp.MockSnmpValue
MockSnmpValue.Counter32SnmpValue, MockSnmpValue.Counter64SnmpValue, MockSnmpValue.Gauge32SnmpValue, MockSnmpValue.Integer32SnmpValue, MockSnmpValue.IpAddressSnmpValue, MockSnmpValue.NetworkAddressSnmpValue, MockSnmpValue.NumberSnmpValue, MockSnmpValue.OctetStringSnmpValue, MockSnmpValue.OidSnmpValue, MockSnmpValue.StringSnmpValue, MockSnmpValue.TimeticksSnmpValue
 
Field Summary
 
Fields inherited from class org.opennms.mock.snmp.MockSnmpValue
END_OF_MIB, NO_SUCH_INSTANCE, NO_SUCH_OBJECT, NULL_VALUE
 
Fields inherited from interface org.opennms.netmgt.snmp.SnmpValue
SNMP_COUNTER32, SNMP_COUNTER64, SNMP_END_OF_MIB, SNMP_GAUGE32, SNMP_INT32, SNMP_IPADDRESS, SNMP_NO_SUCH_INSTANCE, SNMP_NO_SUCH_OBJECT, SNMP_NULL, SNMP_OBJECT_IDENTIFIER, SNMP_OCTET_STRING, SNMP_OPAQUE, SNMP_TIMETICKS
 
Constructor Summary
MockSnmpValue.OctetStringSnmpValue(byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 boolean isDisplayable()
           
 String toHexString()
           
 String toString()
           
 
Methods inherited from class org.opennms.mock.snmp.MockSnmpValue
equals, getType, getValue, hashCode, isEndOfMib, isError, isNull, isNumeric, toBigInteger, toDisplayString, toInetAddress, toInt, toLong, toSnmpObjId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockSnmpValue.OctetStringSnmpValue

public MockSnmpValue.OctetStringSnmpValue(byte[] bytes)
Method Detail

getBytes

public byte[] getBytes()
Specified by:
getBytes in interface SnmpValue
Overrides:
getBytes in class MockSnmpValue

toString

public String toString()
Overrides:
toString in class MockSnmpValue

toHexString

public String toHexString()
Specified by:
toHexString in interface SnmpValue
Overrides:
toHexString in class MockSnmpValue

isDisplayable

public boolean isDisplayable()
Specified by:
isDisplayable in interface SnmpValue
Overrides:
isDisplayable in class MockSnmpValue


Copyright © 2011. All Rights Reserved.