goldengate.snmp.utils
Class GgMORow

java.lang.Object
  extended by goldengate.snmp.utils.GgMORow
All Implemented Interfaces:
org.snmp4j.agent.MOGroup

public class GgMORow
extends Object
implements org.snmp4j.agent.MOGroup

MORow implementation for GoldenGate

Author:
Frederic Bregier

Field Summary
 GgInterfaceMib mib
          MIB from which this Row is issued
 int mibLevel
          Mib Level entry identification
 org.snmp4j.smi.OID reference
          Base OID
 GgMOScalar[] row
          Row access
 int[] type
          Type access
 
Constructor Summary
GgMORow(GgInterfaceMib mib, org.snmp4j.smi.OID reference, GgEntry[] entries, int mibLevel)
           
 
Method Summary
 void registerMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
           
 void setValue(int index, Object value)
          Set a Value in this Row
 void unregisterMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

row

public GgMOScalar[] row
Row access


type

public int[] type
Type access


reference

public org.snmp4j.smi.OID reference
Base OID


mib

public GgInterfaceMib mib
MIB from which this Row is issued


mibLevel

public int mibLevel
Mib Level entry identification

Constructor Detail

GgMORow

public GgMORow(GgInterfaceMib mib,
               org.snmp4j.smi.OID reference,
               GgEntry[] entries,
               int mibLevel)
Parameters:
mib -
reference -
entries -
mibLevel - this integer identifies this Row in the MIB
Method Detail

setValue

public void setValue(int index,
                     Object value)
              throws IllegalArgumentException
Set a Value in this Row

Parameters:
index -
value -
Throws:
IllegalArgumentException

registerMOs

public void registerMOs(org.snmp4j.agent.MOServer server,
                        org.snmp4j.smi.OctetString context)
                 throws org.snmp4j.agent.DuplicateRegistrationException
Specified by:
registerMOs in interface org.snmp4j.agent.MOGroup
Throws:
org.snmp4j.agent.DuplicateRegistrationException

unregisterMOs

public void unregisterMOs(org.snmp4j.agent.MOServer server,
                          org.snmp4j.smi.OctetString context)
Specified by:
unregisterMOs in interface org.snmp4j.agent.MOGroup


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.