org.opennms.netmgt.snmp
Interface SnmpStrategy


public interface SnmpStrategy


Method Summary
 SnmpWalker createWalker(SnmpAgentConfig agentConfig, java.lang.String name, CollectionTracker tracker)
           
 SnmpValue get(SnmpAgentConfig agentConfig, SnmpObjId oid)
           
 SnmpValue[] get(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
           
 SnmpValue[] getBulk(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
           
 SnmpValue getNext(SnmpAgentConfig agentConfig, SnmpObjId oid)
           
 SnmpValue[] getNext(SnmpAgentConfig agentConfig, SnmpObjId[] oids)
           
 SnmpV1TrapBuilder getV1TrapBuilder()
           
 SnmpTrapBuilder getV2TrapBuilder()
           
 SnmpValueFactory getValueFactory()
           
 void registerForTraps(TrapNotificationListener listener, TrapProcessorFactory processorFactory, int snmpTrapPort)
           
 SnmpValue[] set(SnmpAgentConfig agentConfig, SnmpObjId[] oid, SnmpValue[] value)
           
 SnmpValue set(SnmpAgentConfig agentConfig, SnmpObjId oid, SnmpValue value)
           
 void unregisterForTraps(TrapNotificationListener listener, int snmpTrapPort)
           
 

Method Detail

createWalker

SnmpWalker createWalker(SnmpAgentConfig agentConfig,
                        java.lang.String name,
                        CollectionTracker tracker)

set

SnmpValue set(SnmpAgentConfig agentConfig,
              SnmpObjId oid,
              SnmpValue value)

set

SnmpValue[] set(SnmpAgentConfig agentConfig,
                SnmpObjId[] oid,
                SnmpValue[] value)

get

SnmpValue get(SnmpAgentConfig agentConfig,
              SnmpObjId oid)

get

SnmpValue[] get(SnmpAgentConfig agentConfig,
                SnmpObjId[] oids)

getNext

SnmpValue getNext(SnmpAgentConfig agentConfig,
                  SnmpObjId oid)

getNext

SnmpValue[] getNext(SnmpAgentConfig agentConfig,
                    SnmpObjId[] oids)

getBulk

SnmpValue[] getBulk(SnmpAgentConfig agentConfig,
                    SnmpObjId[] oids)

registerForTraps

void registerForTraps(TrapNotificationListener listener,
                      TrapProcessorFactory processorFactory,
                      int snmpTrapPort)
                      throws java.io.IOException
Throws:
java.io.IOException

unregisterForTraps

void unregisterForTraps(TrapNotificationListener listener,
                        int snmpTrapPort)
                        throws java.io.IOException
Throws:
java.io.IOException

getValueFactory

SnmpValueFactory getValueFactory()

getV1TrapBuilder

SnmpV1TrapBuilder getV1TrapBuilder()

getV2TrapBuilder

SnmpTrapBuilder getV2TrapBuilder()


Copyright © 2007. All Rights Reserved.