com.jpragma.snmp.asn
Class AsnBoolean
java.lang.Object
com.jpragma.snmp.asn.AsnObject
com.jpragma.snmp.asn.AsnBoolean
public class AsnBoolean
- extends AsnObject
ASN Boolean (using BER encoding).
For more information see
X.690-0207
- Author:
- Isaac Levin
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
TAG_NUMBER
public static final byte TAG_NUMBER
- See Also:
- Constant Field Values
AsnBoolean
public AsnBoolean()
AsnBoolean
public AsnBoolean(boolean value)
AsnBoolean
public AsnBoolean(BerTlv tlv)
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in class AsnObject
setValue
public void setValue(java.lang.Object value)
throws AsnObjectValueException
- Specified by:
setValue
in class AsnObject
- Throws:
AsnObjectValueException
setValue
public void setValue(BerTlv tlv)
- Specified by:
setValue
in class AsnObject
toBerTlv
public BerTlv toBerTlv()
- Specified by:
toBerTlv
in class AsnObject
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object