Package org.snmp4j.agent

Examples of org.snmp4j.agent.MOAccess


    addJvmManagementMibInstrumentaton();
  }

  protected void createMO(MOFactory moFactory)
  {
    MOAccess readOnly = moFactory.createAccess(MOAccessImpl.ACCESSIBLE_FOR_READ_ONLY);
    _scalars.add(moFactory.createScalar(OID_MESSAGES_RECEIVED, readOnly, new Counter32()));
    _scalars.add(moFactory.createScalar(OID_MESSAGES_SENT, readOnly, new Counter32()));
    _scalars.add(moFactory.createScalar(OID_SIP_VERSION, readOnly, new OctetString()));
  }
View Full Code Here


  public static boolean isSimulationModeEnabled() {
    return simulationModeEnabled;
  }

  public synchronized MOAccess createAccess(int moAccess) {
    MOAccess accessObj = (MOAccess) accessModes.get(new Integer(moAccess));
    if (accessObj == null) {
      accessObj = new SimMOAccess(moAccess);
      accessModes.put(new Integer(moAccess), accessObj);
    }
    return accessObj;
View Full Code Here

TOP

Related Classes of org.snmp4j.agent.MOAccess

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.