Package uk.co.westhawk.snmp.stack

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


        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 0)) {
            // IPAddress
            return new AsnOctets(parseInetAddress(value));
        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 1)) {
            // Counter
            return new AsnUnsInteger(parseInteger(value),
                                     SnmpConstants.COUNTER);
        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 2)) {
            // Gauge
            return new AsnUnsInteger(parseInteger(value),
                                     SnmpConstants.GAUGE);
        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 3)) {
            // TimeTicks
            return new AsnUnsInteger(parseInteger(value),
                                     SnmpConstants.TIMETICKS);
        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 4)) {
            // Opaque
            return new AsnOctets(value);
        } else if (type.hasTag(MibTypeTag.APPLICATION_CATEGORY, 6)) {
View Full Code Here

TOP

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

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.