// Home | Go Back //

/*
 * Copyright (c) 2002-2003 iReasoning Inc. All Rights Reserved.
 * 
 * This SOURCE CODE FILE, which has been provided by iReasoning Inc. as part
 * of an iReasoning Software product for use ONLY by licensed users of the product,
 * includes CONFIDENTIAL and PROPRIETARY information of iReasoning Inc.  
 *
 * USE OF THIS SOFTWARE IS GOVERNED BY THE TERMS AND CONDITIONS 
 * OF THE LICENSE STATEMENT AND LIMITED WARRANTY FURNISHED WITH
 * THE PRODUCT.
 *
 * IN PARTICULAR, YOU WILL INDEMNIFY AND HOLD IREASONING SOFTWARE, ITS
 * RELATED COMPANIES AND ITS SUPPLIERS, HARMLESS FROM AND AGAINST ANY
 * CLAIMS OR LIABILITIES ARISING OUT OF THE USE, REPRODUCTION, OR
 * DISTRIBUTION OF YOUR PROGRAMS, INCLUDING ANY CLAIMS OR LIABILITIES
 * ARISING OUT OF OR RESULTING FROM THE USE, MODIFICATION, OR
 * DISTRIBUTION OF PROGRAMS OR FILES CREATED FROM, BASED ON, AND/OR
 * DERIVED FROM THIS SOURCE CODE FILE.
 */

package agent.mib2jni;
import java.io.*;
import java.util.*;
import com.ireasoning.util.*;
import com.ireasoning.protocol.snmp.*;
import javax.management.*;
import com.ireasoning.jni.*;

/**
 * Class represents icmp mib object in RFC1213_MIB
 */
public class IcmpGroup extends SnmpBaseGroup implements IcmpGroupMBean
{
    // SnmpOID: .1.3.6.1.2.1.5.1.0
    protected SnmpCounter32 _icmpInMsgs = null;
    // SnmpOID: .1.3.6.1.2.1.5.2.0
    protected SnmpCounter32 _icmpInErrors = null;
    // SnmpOID: .1.3.6.1.2.1.5.3.0
    protected SnmpCounter32 _icmpInDestUnreachs = null;
    // SnmpOID: .1.3.6.1.2.1.5.4.0
    protected SnmpCounter32 _icmpInTimeExcds = null;
    // SnmpOID: .1.3.6.1.2.1.5.5.0
    protected SnmpCounter32 _icmpInParmProbs = null;
    // SnmpOID: .1.3.6.1.2.1.5.6.0
    protected SnmpCounter32 _icmpInSrcQuenchs = null;
    // SnmpOID: .1.3.6.1.2.1.5.7.0
    protected SnmpCounter32 _icmpInRedirects = null;
    // SnmpOID: .1.3.6.1.2.1.5.8.0
    protected SnmpCounter32 _icmpInEchos = null;
    // SnmpOID: .1.3.6.1.2.1.5.9.0
    protected SnmpCounter32 _icmpInEchoReps = null;
    // SnmpOID: .1.3.6.1.2.1.5.10.0
    protected SnmpCounter32 _icmpInTimestamps = null;
    // SnmpOID: .1.3.6.1.2.1.5.11.0
    protected SnmpCounter32 _icmpInTimestampReps = null;
    // SnmpOID: .1.3.6.1.2.1.5.12.0
    protected SnmpCounter32 _icmpInAddrMasks = null;
    // SnmpOID: .1.3.6.1.2.1.5.13.0
    protected SnmpCounter32 _icmpInAddrMaskReps = null;
    // SnmpOID: .1.3.6.1.2.1.5.14.0
    protected SnmpCounter32 _icmpOutMsgs = null;
    // SnmpOID: .1.3.6.1.2.1.5.15.0
    protected SnmpCounter32 _icmpOutErrors = null;
    // SnmpOID: .1.3.6.1.2.1.5.16.0
    protected SnmpCounter32 _icmpOutDestUnreachs = null;
    // SnmpOID: .1.3.6.1.2.1.5.17.0
    protected SnmpCounter32 _icmpOutTimeExcds = null;
    // SnmpOID: .1.3.6.1.2.1.5.18.0
    protected SnmpCounter32 _icmpOutParmProbs = null;
    // SnmpOID: .1.3.6.1.2.1.5.19.0
    protected SnmpCounter32 _icmpOutSrcQuenchs = null;
    // SnmpOID: .1.3.6.1.2.1.5.20.0
    protected SnmpCounter32 _icmpOutRedirects = null;
    // SnmpOID: .1.3.6.1.2.1.5.21.0
    protected SnmpCounter32 _icmpOutEchos = null;
    // SnmpOID: .1.3.6.1.2.1.5.22.0
    protected SnmpCounter32 _icmpOutEchoReps = null;
    // SnmpOID: .1.3.6.1.2.1.5.23.0
    protected SnmpCounter32 _icmpOutTimestamps = null;
    // SnmpOID: .1.3.6.1.2.1.5.24.0
    protected SnmpCounter32 _icmpOutTimestampReps = null;
    // SnmpOID: .1.3.6.1.2.1.5.25.0
    protected SnmpCounter32 _icmpOutAddrMasks = null;
    // SnmpOID: .1.3.6.1.2.1.5.26.0
    protected SnmpCounter32 _icmpOutAddrMaskReps = null;
    
    /**
     * Constructor
     * @param root SnmpOID tree root
     * @param oid the SnmpOID of this group
     * @param args the objects passed from caller for Initialization purpose
     */
    public IcmpGroup(OIDTreeNode root, String oid, Object [] args)
    {
        super(root, oid);
    }
    
    /**
     * Gets new icmpInMsgs value
     */
    public synchronized SnmpCounter32 getIcmpInMsgs()
    {
        if(this._icmpInMsgs != null) return this._icmpInMsgs;
        else
        {
            String s = JNIFunction.getScalar("icmpInMsgs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInMsgs value
     * @param value the new value
     */
    public synchronized void setIcmpInMsgs(SnmpCounter32 newValue)
    {
        this._icmpInMsgs = newValue;
    }
    
    /**
     * Gets new icmpInErrors value
     */
    public synchronized SnmpCounter32 getIcmpInErrors()
    {
        if(this._icmpInErrors != null) return this._icmpInErrors;
        else
        {
            String s = JNIFunction.getScalar("icmpInErrors");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInErrors value
     * @param value the new value
     */
    public synchronized void setIcmpInErrors(SnmpCounter32 newValue)
    {
        this._icmpInErrors = newValue;
    }
    
    /**
     * Gets new icmpInDestUnreachs value
     */
    public synchronized SnmpCounter32 getIcmpInDestUnreachs()
    {
        if(this._icmpInDestUnreachs != null) return this._icmpInDestUnreachs;
        else
        {
            String s = JNIFunction.getScalar("icmpInDestUnreachs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInDestUnreachs value
     * @param value the new value
     */
    public synchronized void setIcmpInDestUnreachs(SnmpCounter32 newValue)
    {
        this._icmpInDestUnreachs = newValue;
    }
    
    /**
     * Gets new icmpInTimeExcds value
     */
    public synchronized SnmpCounter32 getIcmpInTimeExcds()
    {
        if(this._icmpInTimeExcds != null) return this._icmpInTimeExcds;
        else
        {
            String s = JNIFunction.getScalar("icmpInTimeExcds");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInTimeExcds value
     * @param value the new value
     */
    public synchronized void setIcmpInTimeExcds(SnmpCounter32 newValue)
    {
        this._icmpInTimeExcds = newValue;
    }
    
    /**
     * Gets new icmpInParmProbs value
     */
    public synchronized SnmpCounter32 getIcmpInParmProbs()
    {
        if(this._icmpInParmProbs != null) return this._icmpInParmProbs;
        else
        {
            String s = JNIFunction.getScalar("icmpInParmProbs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInParmProbs value
     * @param value the new value
     */
    public synchronized void setIcmpInParmProbs(SnmpCounter32 newValue)
    {
        this._icmpInParmProbs = newValue;
    }
    
    /**
     * Gets new icmpInSrcQuenchs value
     */
    public synchronized SnmpCounter32 getIcmpInSrcQuenchs()
    {
        if(this._icmpInSrcQuenchs != null) return this._icmpInSrcQuenchs;
        else
        {
            String s = JNIFunction.getScalar("icmpInSrcQuenchs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInSrcQuenchs value
     * @param value the new value
     */
    public synchronized void setIcmpInSrcQuenchs(SnmpCounter32 newValue)
    {
        this._icmpInSrcQuenchs = newValue;
    }
    
    /**
     * Gets new icmpInRedirects value
     */
    public synchronized SnmpCounter32 getIcmpInRedirects()
    {
        if(this._icmpInRedirects != null) return this._icmpInRedirects;
        else
        {
            String s = JNIFunction.getScalar("icmpInRedirects");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInRedirects value
     * @param value the new value
     */
    public synchronized void setIcmpInRedirects(SnmpCounter32 newValue)
    {
        this._icmpInRedirects = newValue;
    }
    
    /**
     * Gets new icmpInEchos value
     */
    public synchronized SnmpCounter32 getIcmpInEchos()
    {
        if(this._icmpInEchos != null) return this._icmpInEchos;
        else
        {
            String s = JNIFunction.getScalar("icmpInEchos");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInEchos value
     * @param value the new value
     */
    public synchronized void setIcmpInEchos(SnmpCounter32 newValue)
    {
        this._icmpInEchos = newValue;
    }
    
    /**
     * Gets new icmpInEchoReps value
     */
    public synchronized SnmpCounter32 getIcmpInEchoReps()
    {
        if(this._icmpInEchoReps != null) return this._icmpInEchoReps;
        else
        {
            String s = JNIFunction.getScalar("icmpInEchoReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInEchoReps value
     * @param value the new value
     */
    public synchronized void setIcmpInEchoReps(SnmpCounter32 newValue)
    {
        this._icmpInEchoReps = newValue;
    }
    
    /**
     * Gets new icmpInTimestamps value
     */
    public synchronized SnmpCounter32 getIcmpInTimestamps()
    {
        if(this._icmpInTimestamps != null) return this._icmpInTimestamps;
        else
        {
            String s = JNIFunction.getScalar("icmpInTimestamps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInTimestamps value
     * @param value the new value
     */
    public synchronized void setIcmpInTimestamps(SnmpCounter32 newValue)
    {
        this._icmpInTimestamps = newValue;
    }
    
    /**
     * Gets new icmpInTimestampReps value
     */
    public synchronized SnmpCounter32 getIcmpInTimestampReps()
    {
        if(this._icmpInTimestampReps != null) return this._icmpInTimestampReps;
        else
        {
            String s = JNIFunction.getScalar("icmpInTimestampReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInTimestampReps value
     * @param value the new value
     */
    public synchronized void setIcmpInTimestampReps(SnmpCounter32 newValue)
    {
        this._icmpInTimestampReps = newValue;
    }
    
    /**
     * Gets new icmpInAddrMasks value
     */
    public synchronized SnmpCounter32 getIcmpInAddrMasks()
    {
        if(this._icmpInAddrMasks != null) return this._icmpInAddrMasks;
        else
        {
            String s = JNIFunction.getScalar("icmpInAddrMasks");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInAddrMasks value
     * @param value the new value
     */
    public synchronized void setIcmpInAddrMasks(SnmpCounter32 newValue)
    {
        this._icmpInAddrMasks = newValue;
    }
    
    /**
     * Gets new icmpInAddrMaskReps value
     */
    public synchronized SnmpCounter32 getIcmpInAddrMaskReps()
    {
        if(this._icmpInAddrMaskReps != null) return this._icmpInAddrMaskReps;
        else
        {
            String s = JNIFunction.getScalar("icmpInAddrMaskReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpInAddrMaskReps value
     * @param value the new value
     */
    public synchronized void setIcmpInAddrMaskReps(SnmpCounter32 newValue)
    {
        this._icmpInAddrMaskReps = newValue;
    }
    
    /**
     * Gets new icmpOutMsgs value
     */
    public synchronized SnmpCounter32 getIcmpOutMsgs()
    {
        if(this._icmpOutMsgs != null) return this._icmpOutMsgs;
        else
        {
            String s = JNIFunction.getScalar("icmpOutMsgs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutMsgs value
     * @param value the new value
     */
    public synchronized void setIcmpOutMsgs(SnmpCounter32 newValue)
    {
        this._icmpOutMsgs = newValue;
    }
    
    /**
     * Gets new icmpOutErrors value
     */
    public synchronized SnmpCounter32 getIcmpOutErrors()
    {
        if(this._icmpOutErrors != null) return this._icmpOutErrors;
        else
        {
            String s = JNIFunction.getScalar("icmpOutErrors");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutErrors value
     * @param value the new value
     */
    public synchronized void setIcmpOutErrors(SnmpCounter32 newValue)
    {
        this._icmpOutErrors = newValue;
    }
    
    /**
     * Gets new icmpOutDestUnreachs value
     */
    public synchronized SnmpCounter32 getIcmpOutDestUnreachs()
    {
        if(this._icmpOutDestUnreachs != null) return this._icmpOutDestUnreachs;
        else
        {
            String s = JNIFunction.getScalar("icmpOutDestUnreachs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutDestUnreachs value
     * @param value the new value
     */
    public synchronized void setIcmpOutDestUnreachs(SnmpCounter32 newValue)
    {
        this._icmpOutDestUnreachs = newValue;
    }
    
    /**
     * Gets new icmpOutTimeExcds value
     */
    public synchronized SnmpCounter32 getIcmpOutTimeExcds()
    {
        if(this._icmpOutTimeExcds != null) return this._icmpOutTimeExcds;
        else
        {
            String s = JNIFunction.getScalar("icmpOutTimeExcds");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutTimeExcds value
     * @param value the new value
     */
    public synchronized void setIcmpOutTimeExcds(SnmpCounter32 newValue)
    {
        this._icmpOutTimeExcds = newValue;
    }
    
    /**
     * Gets new icmpOutParmProbs value
     */
    public synchronized SnmpCounter32 getIcmpOutParmProbs()
    {
        if(this._icmpOutParmProbs != null) return this._icmpOutParmProbs;
        else
        {
            String s = JNIFunction.getScalar("icmpOutParmProbs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutParmProbs value
     * @param value the new value
     */
    public synchronized void setIcmpOutParmProbs(SnmpCounter32 newValue)
    {
        this._icmpOutParmProbs = newValue;
    }
    
    /**
     * Gets new icmpOutSrcQuenchs value
     */
    public synchronized SnmpCounter32 getIcmpOutSrcQuenchs()
    {
        if(this._icmpOutSrcQuenchs != null) return this._icmpOutSrcQuenchs;
        else
        {
            String s = JNIFunction.getScalar("icmpOutSrcQuenchs");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutSrcQuenchs value
     * @param value the new value
     */
    public synchronized void setIcmpOutSrcQuenchs(SnmpCounter32 newValue)
    {
        this._icmpOutSrcQuenchs = newValue;
    }
    
    /**
     * Gets new icmpOutRedirects value
     */
    public synchronized SnmpCounter32 getIcmpOutRedirects()
    {
        if(this._icmpOutRedirects != null) return this._icmpOutRedirects;
        else
        {
            String s = JNIFunction.getScalar("icmpOutRedirects");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutRedirects value
     * @param value the new value
     */
    public synchronized void setIcmpOutRedirects(SnmpCounter32 newValue)
    {
        this._icmpOutRedirects = newValue;
    }
    
    /**
     * Gets new icmpOutEchos value
     */
    public synchronized SnmpCounter32 getIcmpOutEchos()
    {
        if(this._icmpOutEchos != null) return this._icmpOutEchos;
        else
        {
            String s = JNIFunction.getScalar("icmpOutEchos");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutEchos value
     * @param value the new value
     */
    public synchronized void setIcmpOutEchos(SnmpCounter32 newValue)
    {
        this._icmpOutEchos = newValue;
    }
    
    /**
     * Gets new icmpOutEchoReps value
     */
    public synchronized SnmpCounter32 getIcmpOutEchoReps()
    {
        if(this._icmpOutEchoReps != null) return this._icmpOutEchoReps;
        else
        {
            String s = JNIFunction.getScalar("icmpOutEchoReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutEchoReps value
     * @param value the new value
     */
    public synchronized void setIcmpOutEchoReps(SnmpCounter32 newValue)
    {
        this._icmpOutEchoReps = newValue;
    }
    
    /**
     * Gets new icmpOutTimestamps value
     */
    public synchronized SnmpCounter32 getIcmpOutTimestamps()
    {
        if(this._icmpOutTimestamps != null) return this._icmpOutTimestamps;
        else
        {
            String s = JNIFunction.getScalar("icmpOutTimestamps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutTimestamps value
     * @param value the new value
     */
    public synchronized void setIcmpOutTimestamps(SnmpCounter32 newValue)
    {
        this._icmpOutTimestamps = newValue;
    }
    
    /**
     * Gets new icmpOutTimestampReps value
     */
    public synchronized SnmpCounter32 getIcmpOutTimestampReps()
    {
        if(this._icmpOutTimestampReps != null) return this._icmpOutTimestampReps;
        else
        {
            String s = JNIFunction.getScalar("icmpOutTimestampReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutTimestampReps value
     * @param value the new value
     */
    public synchronized void setIcmpOutTimestampReps(SnmpCounter32 newValue)
    {
        this._icmpOutTimestampReps = newValue;
    }
    
    /**
     * Gets new icmpOutAddrMasks value
     */
    public synchronized SnmpCounter32 getIcmpOutAddrMasks()
    {
        if(this._icmpOutAddrMasks != null) return this._icmpOutAddrMasks;
        else
        {
            String s = JNIFunction.getScalar("icmpOutAddrMasks");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutAddrMasks value
     * @param value the new value
     */
    public synchronized void setIcmpOutAddrMasks(SnmpCounter32 newValue)
    {
        this._icmpOutAddrMasks = newValue;
    }
    
    /**
     * Gets new icmpOutAddrMaskReps value
     */
    public synchronized SnmpCounter32 getIcmpOutAddrMaskReps()
    {
        if(this._icmpOutAddrMaskReps != null) return this._icmpOutAddrMaskReps;
        else
        {
            String s = JNIFunction.getScalar("icmpOutAddrMaskReps");
            return new SnmpCounter32(s);
        }
    }
    
    /**
     * Sets new icmpOutAddrMaskReps value
     * @param value the new value
     */
    public synchronized void setIcmpOutAddrMaskReps(SnmpCounter32 newValue)
    {
        this._icmpOutAddrMaskReps = newValue;
    }
    
}