/** * Complete emitter initialisation **/ public void start() throws Exception { // Load persisted manager subscriptions load(); // Instantiate the trap factory this.trapFactory = (TrapFactory) Class.forName(this.snmpAgentService.getTrapFactoryClassName(), true, this.getClass().getClassLoader()).newInstance(); // Initialise this.trapFactory.set(this.snmpAgentService.getClock(), this.snmpAgentService.getTrapCounter(), this.snmpAgentService.getRequestHandler()); // Start the trap factory this.trapFactory.start(); }
/** * Complete emitter initialisation **/ public void start() throws Exception { // Load persisted manager subscriptions load(); // Instantiate the trap factory this.trapFactory = (TrapFactory) Class.forName(this.snmpAgentService.getTrapFactoryClassName(), true, this.getClass().getClassLoader()).newInstance(); // Initialise this.trapFactory.set(this.snmpAgentService.getClock(), this.snmpAgentService.getTrapCounter(), this.snmpAgentService.getRequestHandler()); // Start the trap factory this.trapFactory.start(); }