|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgoldengate.snmp.test.GgSimpleSnmpClient
public class GgSimpleSnmpClient
Simple SNMP Client (for testing purpose)
Constructor Summary | |
---|---|
GgSimpleSnmpClient(String clientAddress,
int port)
|
Method Summary | |
---|---|
static String |
extractSingleString(org.snmp4j.event.ResponseEvent event)
|
org.snmp4j.event.ResponseEvent |
get(org.snmp4j.smi.OID[] oids)
This method is capable of handling multiple OIDs |
String |
getAsString(org.snmp4j.smi.OID oid)
Method which takes a single OID and returns the response from the agent as a String. |
void |
getAsString(org.snmp4j.smi.OID oids,
org.snmp4j.event.ResponseListener listener)
This method is capable of handling multiple OIDs linked with a listener |
List<List<String>> |
getTableAsStrings(org.snmp4j.smi.OID[] oids)
Normally this would return domain objects or something else than this... |
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GgSimpleSnmpClient(String clientAddress, int port)
clientAddress
- port
- Method Detail |
---|
public void stop() throws IOException
IOException
public String getAsString(org.snmp4j.smi.OID oid) throws IOException
oid
-
IOException
public void getAsString(org.snmp4j.smi.OID oids, org.snmp4j.event.ResponseListener listener)
oids
- listener
-
IOException
public org.snmp4j.event.ResponseEvent get(org.snmp4j.smi.OID[] oids) throws IOException
oids
-
IOException
public List<List<String>> getTableAsStrings(org.snmp4j.smi.OID[] oids)
public static String extractSingleString(org.snmp4j.event.ResponseEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |