| java.lang.Object snmp.SNMPInformRequestSenderInterface
SNMPInformRequestSenderInterface | public class SNMPInformRequestSenderInterface (Code) | | The class SNMPInformRequestSenderInterface implements an interface for sending SNMPv2 inform request
messages to a remote SNMP manager. The approach is that from version 2c of SNMP, using no encryption of data.
Communication occurs via UDP, using port 162, the standard SNMP trap and inform request port, as the destination port.
|
Constructor Summary | |
public | SNMPInformRequestSenderInterface() Construct a new inform request sender object to send inform requests to remote SNMP hosts. | public | SNMPInformRequestSenderInterface(int localPort) Construct a new inform request sender object to send inform requests to remote SNMP hosts, binding to
the specified local port. |
SNMP_TRAP_PORT | final public static int SNMP_TRAP_PORT(Code) | | |
SNMPInformRequestSenderInterface | public SNMPInformRequestSenderInterface() throws SocketException(Code) | | Construct a new inform request sender object to send inform requests to remote SNMP hosts.
|
SNMPInformRequestSenderInterface | public SNMPInformRequestSenderInterface(int localPort) throws SocketException(Code) | | Construct a new inform request sender object to send inform requests to remote SNMP hosts, binding to
the specified local port.
|
sendInformRequest | public void sendInformRequest(InetAddress hostAddress, String community, SNMPv2InformRequestPDU pdu) throws IOException(Code) | | Send the supplied inform request pdu to the specified host, using the supplied community name and
using 1 for the version field in the SNMP message.
|
|
|