
Throws: IllegalArgumentException - If one of the
address - The Ip address the dispatcher will listen for. port - The port the forwarder is listening to. factory - The factory to use in order to create the engine. Parameters: parameters - The engine parameters to use. If not, the session computes an SnmpEngineId.
If not, if the passed engineId is not null, this engine Id. LocalEngineID", this property value is used. If an lcd file is provided containing the property ". WARNING : The SnmpEngineId is computed as follow: Public SnmpTrapReceiver( SnmpEngineParameters parameters, If null, the dispatcher will listen on localhost. address - The Ip address the dispatcher will listen for.Įvents on. Parameters: engine - The SNMP engine to use. Throws IllegalArgumentException Instantiate a SnmpTrapForwarder that will forward Public SnmpTrapReceiver( SnmpEngine engine, ObjectĬlone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait ReceivedV3Trap( SnmpScopedPduRequest trap) You must implement this method in order to handle received SNMP You must implement this method in order to handle received SNMP V1 You must implement this method in order to handle received traps Return the TaskServer that will be used to handle incomingĬall this method in order to be called by receivedTrap Return the TaskServer that will be used to invoke callbacks.ĬreateDispatcherThread( Runnable dispatcher)Ĭreates a new Thread to listen for incoming traps. SnmpTrapReceiver( SnmpEngineParameters parameters, Received traps according to its configuration.
Instantiate a SnmpTrapForwarder that will forward To enable trap receiving you must start the receiver. This trap receiver listen on a dedicated port and forward traps This MBean allows you to receive traps of subagents. Public class SnmpTrapReceiver extends Object
SUMMARY: NESTED | FIELD | CONSTR | METHODĬlass SnmpTrapReceiver .agent.SnmpTrapReceiver Direct Known Subclasses: SnmpTrapForwarder SnmpTrapReceiver (Open source project for the Java Dynamic Management Kit 1.0 API Specification)