if(bind_addr != null) { Map m=new HashMap(1); m.put("bind_addr", bind_addr); passUp(new Event(Event.CONFIG, m)); }
    public void start() throws Exception {        timer=stack.timer;        if(timer == null)            throw new Exception("timer is null");        if(enable_diagnostics) {            diag_handler=new DiagnosticsHandler();            diag_handler.start();        }        if(use_incoming_packet_handler) {            incoming_packet_queue=new Queue();            incoming_packet_handler=new IncomingPacketHandler();            incoming_packet_handler.start();        }        if(loopback) {            incoming_msg_queue=new Queue();            incoming_msg_handler=new IncomingMessageHandler();            incoming_msg_handler.start();        }        if(use_outgoing_packet_handler) {            outgoing_queue=new BoundedLinkedQueue(outgoing_queue_max_size);            outgoing_packet_handler=new OutgoingPacketHandler();            outgoing_packet_handler.start();        }        if(enable_bundling) {            bundler=new Bundler();        }        passUp(new Event(Event.SET_LOCAL_ADDRESS, local_addr));    }