this.mq=mq; this.handler=handler; this.observer=observer; if(handler != null) setName("UpHandler (" + handler.getName() + ")"); else setName("UpHandler"); setDaemon(true); }
this.mq = mq; this.handler = handler; this.observer = observer; if (handler != null) { setName("UpHandler (" + handler.getName() + ")"); } else { setName("UpHandler"); } setDaemon(true); }
    public UpHandler(Queue mq, Protocol handler, ProtocolObserver observer) {        this.mq=mq;        this.handler=handler;        this.observer=observer;        if(handler != null)            setName("UpHandler (" + handler.getName() + ")");        else            setName("UpHandler");        setDaemon(true);    }