|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jmx.adaptor.snmp.trapd.TrapReceiver
Implements an SNMP trap reception engine
| Field Summary | |
protected Logger (src) |
log
target logger |
| Constructor Summary | |
TrapReceiver(Logger (src) log)
Public CTOR |
|
| Method Summary | |
void |
snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduPacket pdu)
Receives and logs information about SNMPv2 traps. |
void |
snmpTrapSessionError(SnmpTrapSession session,
int error,
java.lang.Object ref)
Processes session errors. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final Logger (src) log
| Constructor Detail |
public TrapReceiver(Logger (src) log)
log - the logger used to output info messages| Method Detail |
public void snmpReceivedTrap(SnmpTrapSession session,
java.net.InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduPacket pdu)
session - the trap session that received the PDUagent - the address of the remote senderport - the remote port where the pdu was transmitted fromcommunity - the decoded community stringpdu - the decoded v2 trap pdu
public void snmpTrapSessionError(SnmpTrapSession session,
int error,
java.lang.Object ref)
session - the trap session in errorerror - the error conditionref - the reference object, if any
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||