// Home | Go Back //
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.*;
public class IpGroup extends SnmpBaseGroup implements IpGroupMBean
{
protected int _ipForwarding = Integer.MIN_VALUE;
protected int _ipDefaultTTL = Integer.MIN_VALUE;
protected SnmpCounter32 _ipInReceives = null;
protected SnmpCounter32 _ipInHdrErrors = null;
protected SnmpCounter32 _ipInAddrErrors = null;
protected SnmpCounter32 _ipForwDatagrams = null;
protected SnmpCounter32 _ipInUnknownProtos = null;
protected SnmpCounter32 _ipInDiscards = null;
protected SnmpCounter32 _ipInDelivers = null;
protected SnmpCounter32 _ipOutRequests = null;
protected SnmpCounter32 _ipOutDiscards = null;
protected SnmpCounter32 _ipOutNoRoutes = null;
protected int _ipReasmTimeout = Integer.MIN_VALUE;
protected SnmpCounter32 _ipReasmReqds = null;
protected SnmpCounter32 _ipReasmOKs = null;
protected SnmpCounter32 _ipReasmFails = null;
protected SnmpCounter32 _ipFragOKs = null;
protected SnmpCounter32 _ipFragFails = null;
protected SnmpCounter32 _ipFragCreates = null;
protected SnmpCounter32 _ipRoutingDiscards = null;
public IpGroup(OIDTreeNode root, String oid, Object [] args)
{
super(root, oid);
}
public synchronized int getIpForwarding()
{
if(this._ipForwarding != Integer.MIN_VALUE) return this._ipForwarding;
else return Integer.parseInt(JNIFunction.getScalar("ipForwarding"));
}
public synchronized void setIpForwarding(int newValue)
{
this._ipForwarding = newValue;
}
public synchronized int getIpDefaultTTL()
{
if(this._ipDefaultTTL != Integer.MIN_VALUE) return this._ipDefaultTTL;
else return Integer.parseInt(JNIFunction.getScalar("ipDefaultTTL"));
}
public synchronized void setIpDefaultTTL(int newValue)
{
this._ipDefaultTTL = newValue;
}
public synchronized SnmpCounter32 getIpInReceives()
{
if(this._ipInReceives != null) return this._ipInReceives;
else
{
String s = JNIFunction.getScalar("ipInReceives");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInReceives(SnmpCounter32 newValue)
{
this._ipInReceives = newValue;
}
public synchronized SnmpCounter32 getIpInHdrErrors()
{
if(this._ipInHdrErrors != null) return this._ipInHdrErrors;
else
{
String s = JNIFunction.getScalar("ipInHdrErrors");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInHdrErrors(SnmpCounter32 newValue)
{
this._ipInHdrErrors = newValue;
}
public synchronized SnmpCounter32 getIpInAddrErrors()
{
if(this._ipInAddrErrors != null) return this._ipInAddrErrors;
else
{
String s = JNIFunction.getScalar("ipInAddrErrors");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInAddrErrors(SnmpCounter32 newValue)
{
this._ipInAddrErrors = newValue;
}
public synchronized SnmpCounter32 getIpForwDatagrams()
{
if(this._ipForwDatagrams != null) return this._ipForwDatagrams;
else
{
String s = JNIFunction.getScalar("ipForwDatagrams");
return new SnmpCounter32(s);
}
}
public synchronized void setIpForwDatagrams(SnmpCounter32 newValue)
{
this._ipForwDatagrams = newValue;
}
public synchronized SnmpCounter32 getIpInUnknownProtos()
{
if(this._ipInUnknownProtos != null) return this._ipInUnknownProtos;
else
{
String s = JNIFunction.getScalar("ipInUnknownProtos");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInUnknownProtos(SnmpCounter32 newValue)
{
this._ipInUnknownProtos = newValue;
}
public synchronized SnmpCounter32 getIpInDiscards()
{
if(this._ipInDiscards != null) return this._ipInDiscards;
else
{
String s = JNIFunction.getScalar("ipInDiscards");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInDiscards(SnmpCounter32 newValue)
{
this._ipInDiscards = newValue;
}
public synchronized SnmpCounter32 getIpInDelivers()
{
if(this._ipInDelivers != null) return this._ipInDelivers;
else
{
String s = JNIFunction.getScalar("ipInDelivers");
return new SnmpCounter32(s);
}
}
public synchronized void setIpInDelivers(SnmpCounter32 newValue)
{
this._ipInDelivers = newValue;
}
public synchronized SnmpCounter32 getIpOutRequests()
{
if(this._ipOutRequests != null) return this._ipOutRequests;
else
{
String s = JNIFunction.getScalar("ipOutRequests");
return new SnmpCounter32(s);
}
}
public synchronized void setIpOutRequests(SnmpCounter32 newValue)
{
this._ipOutRequests = newValue;
}
public synchronized SnmpCounter32 getIpOutDiscards()
{
if(this._ipOutDiscards != null) return this._ipOutDiscards;
else
{
String s = JNIFunction.getScalar("ipOutDiscards");
return new SnmpCounter32(s);
}
}
public synchronized void setIpOutDiscards(SnmpCounter32 newValue)
{
this._ipOutDiscards = newValue;
}
public synchronized SnmpCounter32 getIpOutNoRoutes()
{
if(this._ipOutNoRoutes != null) return this._ipOutNoRoutes;
else
{
String s = JNIFunction.getScalar("ipOutNoRoutes");
return new SnmpCounter32(s);
}
}
public synchronized void setIpOutNoRoutes(SnmpCounter32 newValue)
{
this._ipOutNoRoutes = newValue;
}
public synchronized int getIpReasmTimeout()
{
if(this._ipReasmTimeout != Integer.MIN_VALUE) return this._ipReasmTimeout;
else
{
return Integer.parseInt(JNIFunction.getScalar("ipOutNoRoutes"));
}
}
public synchronized void setIpReasmTimeout(int newValue)
{
this._ipReasmTimeout = newValue;
}
public synchronized SnmpCounter32 getIpReasmReqds()
{
if(this._ipReasmReqds != null) return this._ipReasmReqds;
else
{
String s = JNIFunction.getScalar("ipReasmReqds");
return new SnmpCounter32(s);
}
}
public synchronized void setIpReasmReqds(SnmpCounter32 newValue)
{
this._ipReasmReqds = newValue;
}
public synchronized SnmpCounter32 getIpReasmOKs()
{
if(this._ipReasmOKs != null) return this._ipReasmOKs;
else
{
String s = JNIFunction.getScalar("ipReasmOKs");
return new SnmpCounter32(s);
}
}
public synchronized void setIpReasmOKs(SnmpCounter32 newValue)
{
this._ipReasmOKs = newValue;
}
public synchronized SnmpCounter32 getIpReasmFails()
{
if(this._ipReasmFails != null) return this._ipReasmFails;
else
{
String s = JNIFunction.getScalar("ipReasmFails");
return new SnmpCounter32(s);
}
}
public synchronized void setIpReasmFails(SnmpCounter32 newValue)
{
this._ipReasmFails = newValue;
}
public synchronized SnmpCounter32 getIpFragOKs()
{
if(this._ipFragOKs != null) return this._ipFragOKs;
else
{
String s = JNIFunction.getScalar("ipFragOKs");
return new SnmpCounter32(s);
}
}
public synchronized void setIpFragOKs(SnmpCounter32 newValue)
{
this._ipFragOKs = newValue;
}
public synchronized SnmpCounter32 getIpFragFails()
{
if(this._ipFragFails != null) return this._ipFragFails;
else
{
String s = JNIFunction.getScalar("ipFragFails");
return new SnmpCounter32(s);
}
}
public synchronized void setIpFragFails(SnmpCounter32 newValue)
{
this._ipFragFails = newValue;
}
public synchronized SnmpCounter32 getIpFragCreates()
{
if(this._ipFragCreates != null) return this._ipFragCreates;
else
{
String s = JNIFunction.getScalar("ipFragCreates");
return new SnmpCounter32(s);
}
}
public synchronized void setIpFragCreates(SnmpCounter32 newValue)
{
this._ipFragCreates = newValue;
}
public synchronized SnmpCounter32 getIpRoutingDiscards()
{
if(this._ipRoutingDiscards != null) return this._ipRoutingDiscards;
else
{
String s = JNIFunction.getScalar("ipRoutingDiscards");
return new SnmpCounter32(s);
}
}
public synchronized void setIpRoutingDiscards(SnmpCounter32 newValue)
{
this._ipRoutingDiscards = newValue;
}
}