goldengate.snmp.test
Class GgImplPrivateMib

java.lang.Object
  extended by goldengate.snmp.r66.GgPrivateMib
      extended by goldengate.snmp.test.GgImplPrivateMib
All Implemented Interfaces:
GgInterfaceMib, org.snmp4j.agent.MOGroup

public class GgImplPrivateMib
extends GgPrivateMib

Example of Implementation of GgPrivateMib

Author:
Frederic Bregier

Nested Class Summary
 
Nested classes/interfaces inherited from class goldengate.snmp.r66.GgPrivateMib
GgPrivateMib.goldenGateDefinitionIndex, GgPrivateMib.goldenGateDetailedValuesIndex, GgPrivateMib.goldenGateErrorValuesIndex, GgPrivateMib.goldenGateGlobalValuesIndex, GgPrivateMib.MibLevel, GgPrivateMib.NotificationElements, GgPrivateMib.NotificationTasks, GgPrivateMib.OperStatus
 
Nested classes/interfaces inherited from interface goldengate.snmp.interf.GgInterfaceMib
GgInterfaceMib.TrapLevel
 
Field Summary
 
Fields inherited from class goldengate.snmp.r66.GgPrivateMib
address, agent, applicationProtocol, applicationProtocolBase, contactName, ggObjectId, goldenGateDefinition, goldenGateDetailedValues, goldenGateErrorValues, goldenGateGlobalValues, rootOIDGoldenGate, rootOIDGoldenGateDetailed, rootOIDGoldenGateError, rootOIDGoldenGateGlobal, rootOIDGoldenGateGlobalUptime, rootOIDGoldenGateInfo, rootOIDGoldenGateNotif, rootOIDGoldenGateNotifStartOrShutdown, rowDetailed, rowError, rowGlobal, rowInfo, scalarUptime, service, smiPrivateCode, smiTypeGoldengate, snmpv2, srootOIDGoldenGate, textualName, textualSysDecr, upTime
 
Fields inherited from interface goldengate.snmp.interf.GgInterfaceMib
rootEnterpriseMib
 
Constructor Summary
GgImplPrivateMib(String sysdesc, int port, int smiPrivateCodeFinal, int typeGoldenGateObject, String scontactName, String stextualName, String saddress, int iservice)
           
 
Method Summary
protected  void agentRegisterGoldenGateMib()
          Register this MIB
 void notifyError(String message, String message2, int number)
          Example of trap for Error
 void notifyInfo(String message, String message2, int number)
          Example of trap for All
 void updateServices(GgMOScalar scalar)
          Update the row for these services
 void updateServices(org.snmp4j.agent.MOScope range)
          Update the row for these services
 
Methods inherited from class goldengate.snmp.r66.GgPrivateMib
agentRegisterSystem, agentUnregisterMibs, changeStatus, defaultAgentRegisterGoldenGateMib, getBaseOidStartOrShutdown, getSNMPv2MIB, registerMOs, setAgent, unregisterMOs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GgImplPrivateMib

public GgImplPrivateMib(String sysdesc,
                        int port,
                        int smiPrivateCodeFinal,
                        int typeGoldenGateObject,
                        String scontactName,
                        String stextualName,
                        String saddress,
                        int iservice)
Parameters:
sysdesc -
port -
smiPrivateCodeFinal -
typeGoldenGateObject -
scontactName -
stextualName -
saddress -
iservice -
Method Detail

updateServices

public void updateServices(GgMOScalar scalar)
Description copied from interface: GgInterfaceMib
Update the row for these services


updateServices

public void updateServices(org.snmp4j.agent.MOScope range)
Description copied from interface: GgInterfaceMib
Update the row for these services


agentRegisterGoldenGateMib

protected void agentRegisterGoldenGateMib()
                                   throws org.snmp4j.agent.DuplicateRegistrationException
Description copied from class: GgPrivateMib
Register this MIB

Specified by:
agentRegisterGoldenGateMib in class GgPrivateMib
Throws:
org.snmp4j.agent.DuplicateRegistrationException

notifyInfo

public void notifyInfo(String message,
                       String message2,
                       int number)
Example of trap for All

Parameters:
message -
message2 -
number -

notifyError

public void notifyError(String message,
                        String message2,
                        int number)
Example of trap for Error

Parameters:
message -
message2 -
number -


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