public class StreamEventMonitor
extends java.lang.Object
implements java.lang.Runnable
SnmpTarget
,
WestSpeedTests
Modifier and Type | Field and Description |
---|---|
static boolean |
doTCP |
static java.lang.String |
OID
The system OID.
|
Constructor and Description |
---|
StreamEventMonitor(java.lang.String h,
int loops,
boolean v3)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Runs the configured number of subtree walks.
|
void |
setUCM(java.lang.String uname,
java.lang.String passw,
java.lang.String contextN,
byte[] contextI,
int proto)
Set the UCM parameters for SNMPv3.
|
static java.util.Vector |
walkSubTree(SnmpTarget target,
java.lang.String startOID)
Performs the actual subtree walk.
|
public static final java.lang.String OID
public static final boolean doTCP
public StreamEventMonitor(java.lang.String h, int loops, boolean v3)
h
- The hostloops
- The number of time the subtree walk should be performedv3
- The boolean indicating if SNMPv3 (true) should be used or not.setUCM(java.lang.String, java.lang.String, java.lang.String, byte[], int)
public void setUCM(java.lang.String uname, java.lang.String passw, java.lang.String contextN, byte[] contextI, int proto)
public void run()
run
in interface java.lang.Runnable
public static java.util.Vector walkSubTree(SnmpTarget target, java.lang.String startOID)
target
- The configured snmp targetstartOID
- The oid where the walks start