public class SNMPMessenger extends SNMPConnector
ADDRESS, agentAddress, agentName, BITSTRING, community, comTarget, COUNTER32, DECIMALSTRING, enterpriseOID, HEXSTRING, hostIP, hostname, INTEGER32, NULL, OIDSTRING, port, retry, snmp, startTime, STRING, timeout, TIMETICKS, transport, UNSIGN32, uri| Constructor and Description |
|---|
SNMPMessenger(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOperation() |
void |
inquire(XQueue xq)
It continually gets a JMS Message with an SNMP request from the XQueue.
|
void |
listen(XQueue xq)
It listens to the DatagramSocket for incoming SNMP packets.
|
void |
send(XQueue xq)
It continually gets a JMS Message from the XQueue, sends its content
and its OID to an SNMP manager.
|
close, getDefaultVersion, getTarget, getURI, isConnected, isListening, main, receive, receive, reconnect, sendTrap, snmpGet, snmpInquire, snmpNotify, snmpNotify, snmpSet, snmpSet, snmpSet, snmpTrappublic void listen(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOExceptionjavax.jms.JMSExceptionpublic void inquire(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOExceptionjavax.jms.JMSExceptionpublic void send(XQueue xq) throws java.io.IOException, javax.jms.JMSException
java.io.IOExceptionjavax.jms.JMSExceptionpublic java.lang.String getOperation()