Package net.percederberg.mibble.snmp

Examples of net.percederberg.mibble.snmp.SnmpIndex


     * @param node           the node being exited
     *
     * @return the node to add to the parse tree
     */
    protected Node exitIndexValue(Production node) {
        SnmpIndex  index;
        Object     obj = getChildValues(node).get(0);

        switch (node.getChildAt(0).getId()) {
        case Asn1Constants.VALUE:
            index = new SnmpIndex(false, (MibValue) obj, null);
            break;
        case Asn1Constants.IMPLIED:
            index = new SnmpIndex(true, (MibValue) obj, null);
            break;
        default:
            index = new SnmpIndex(false, null, (MibType) obj);
        }
        node.addValue(index);
        return node;
    }
View Full Code Here

TOP

Related Classes of net.percederberg.mibble.snmp.SnmpIndex

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.