| 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, port 162, the standard SNMP trap port, as the destination port, unless an
alternate (non-standard) port is specified in the constructor.
|
Constructor Summary | |
public | SNMPInformRequestSenderInterface() Construct a new inform request sender object to send inform requests to remote SNMP hosts. | public | SNMPInformRequestSenderInterface(int remotePort) Construct a new inform request sender object to send inform requests to remote SNMP hosts,
using the specified destination 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 remotePort) throws SocketException(Code) | | Construct a new inform request sender object to send inform requests to remote SNMP hosts,
using the specified destination 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.
|
|
|