| java.lang.Object org.jboss.jmx.adaptor.snmp.trapd.TrapReceiver
Field Summary | |
final protected Logger | log |
Method Summary | |
public void | snmpReceivedTrap(SnmpTrapSession session, InetAddress agent, int port, SnmpOctetString community, SnmpPduPacket pdu) Receives and logs information about SNMPv2 traps. | public void | snmpReceivedTrap(SnmpTrapSession session, InetAddress agent, int port, SnmpOctetString community, SnmpPduTrap pdu) Receives and logs information about SNMPv1 traps. | public void | snmpTrapSessionError(SnmpTrapSession session, int error, Object ref) Processes session errors. |
log | final protected Logger log(Code) | | target logger
|
TrapReceiver | public TrapReceiver(Logger log)(Code) | | Public CTOR
Parameters: log - the logger used to output info messages |
snmpReceivedTrap | public void snmpReceivedTrap(SnmpTrapSession session, InetAddress agent, int port, SnmpOctetString community, SnmpPduPacket pdu)(Code) | | Receives and logs information about SNMPv2 traps.
Parameters: session - the trap session that received the PDU Parameters: agent - the address of the remote sender Parameters: port - the remote port where the pdu was transmitted from Parameters: community - the decoded community string Parameters: pdu - the decoded v2 trap pdu |
snmpReceivedTrap | public void snmpReceivedTrap(SnmpTrapSession session, InetAddress agent, int port, SnmpOctetString community, SnmpPduTrap pdu)(Code) | | Receives and logs information about SNMPv1 traps.
Parameters: session - the trap session that received the PDU Parameters: agent - the address of the remote sender Parameters: port - the remote port where the pdu was transmitted from Parameters: community - the decoded community string Parameters: pdu - the decoded v1 trap pdu |
snmpTrapSessionError | public void snmpTrapSessionError(SnmpTrapSession session, int error, Object ref)(Code) | | Processes session errors.
Parameters: session - the trap session in error Parameters: error - the error condition Parameters: ref - the reference object, if any |
|
|