Package uk.co.westhawk.snmp.stack

Examples of uk.co.westhawk.snmp.stack.AsnInteger


        MibType  type = request.getType();
        String   value = request.getValue();

        if (type.hasTag(MibTypeTag.UNIVERSAL_CATEGORY, 2)) {
            // INTEGER & Integer32
            return new AsnInteger(parseInteger(value));
        } else if (type.hasTag(MibTypeTag.UNIVERSAL_CATEGORY, 4)) {
            // OCTET STRING
            return new AsnOctets(value);
        } else if (type.hasTag(MibTypeTag.UNIVERSAL_CATEGORY, 6)) {
            // OBJECT IDENTIFIER
View Full Code Here

TOP

Related Classes of uk.co.westhawk.snmp.stack.AsnInteger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.