com.oy.shared.lw.adapter
Class Perf2SNMPAdapterContext

java.lang.Object
  extended bycom.oy.shared.lw.adapter.Perf2SNMPAdapterContext

public class Perf2SNMPAdapterContext
extends java.lang.Object


Constructor Summary
Perf2SNMPAdapterContext()
           
 
Method Summary
 int convertNameToOID(java.lang.String name)
          This function is used to convert name of the module/class/counter into OID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perf2SNMPAdapterContext

public Perf2SNMPAdapterContext()
Method Detail

convertNameToOID

public int convertNameToOID(java.lang.String name)
This function is used to convert name of the module/class/counter into OID. Provide other function that works for you or hard code OID here if needed. The OID of a specific name will not change unless you change the name. The only reason to have custom mapping here if some of counter names accidently produce the same OID code and you are not allowed to change any of the names.



Copyright (C) 2005-2006 Pavel Simakov
http://www.softwaresecretweapons.com