com.oy.shared.lw.adapter
Class Perf2SNMPAdapter.ValueAdapter

java.lang.Object
  extended bycom.oy.shared.lw.snmp.agent.BaseValueSource
      extended bycom.oy.shared.lw.snmp.value.BaseROValueSource
          extended bycom.oy.shared.lw.snmp.value.IntegerROValueSource
              extended bycom.oy.shared.lw.adapter.Perf2SNMPAdapter.ValueAdapter
All Implemented Interfaces:
IValueSource
Enclosing class:
Perf2SNMPAdapter

class Perf2SNMPAdapter.ValueAdapter
extends IntegerROValueSource


Field Summary
private  IPerfMonitor counter
           
private  int index
           
 
Fields inherited from class com.oy.shared.lw.snmp.agent.BaseValueSource
 
Constructor Summary
Perf2SNMPAdapter.ValueAdapter(IPerfMonitor counter, int index)
           
 
Method Summary
 long getValue()
           
 
Methods inherited from class com.oy.shared.lw.snmp.value.IntegerROValueSource
get, getType
 
Methods inherited from class com.oy.shared.lw.snmp.agent.BaseValueSource
getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

private IPerfMonitor counter

index

private int index
Constructor Detail

Perf2SNMPAdapter.ValueAdapter

public Perf2SNMPAdapter.ValueAdapter(IPerfMonitor counter,
                                     int index)
Method Detail

getValue

public long getValue()
Specified by:
getValue in class IntegerROValueSource


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