public class Get extends Object
Get class.
| Constructor and Description |
|---|
Get(String oid,
org.snmp4j.CommunityTarget target,
TransportMappingAbstractFactory transportFactory,
MessageDispatcherAbstractFactory messageDispatcherAbstractFactory)
Constructor for Get.
|
Get(String oid,
String address,
int version,
int retries,
long timeout,
String community,
TransportMappingAbstractFactory transportFactory,
MessageDispatcherAbstractFactory messageDispatcherAbstractFactory)
Constructor for Get.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSNMPGetNextValue()
getSNMPGetNextValue.
|
String |
getSNMPValue()
getSNMPValue.
|
static void |
main(String[] args)
main.
|
public Get(String oid, org.snmp4j.CommunityTarget target, TransportMappingAbstractFactory transportFactory, MessageDispatcherAbstractFactory messageDispatcherAbstractFactory)
Constructor for Get.
oid - a String object.target - a CommunityTarget object.transportFactory - a TransportMappingAbstractFactory object.messageDispatcherAbstractFactory - a MessageDispatcherAbstractFactory object.public Get(String oid, String address, int version, int retries, long timeout, String community, TransportMappingAbstractFactory transportFactory, MessageDispatcherAbstractFactory messageDispatcherAbstractFactory) throws IOException
Constructor for Get.
oid - a String object.address - a String object.version - a int.retries - a int.timeout - a long.community - a String object.transportFactory - a TransportMappingAbstractFactory object.messageDispatcherAbstractFactory - a MessageDispatcherAbstractFactory object.IOException - if any.public String getSNMPValue() throws IOException
getSNMPValue.
String object.IOException - if any.public String getSNMPGetNextValue() throws IOException
getSNMPGetNextValue.
String object.IOException - if any.public static void main(String[] args) throws IOException
main.
args - an array of String objects.IOException - if any.Copyright © 2016 iTransformers Labs. All rights reserved.