if(up_prot != null) { up_prot.receiveUpEvent(evt); } else if(log.isErrorEnabled()) log.error("no upper layer available"); }
if (up_prot != null) { up_prot.receiveUpEvent(evt); } else if (log.isErrorEnabled()) { log.error("no upper layer available"); } }
    public void passUp(Event evt) {        if(observer != null) {                   // call debugger hook (if installed)            if(observer.passUp(evt) == false) {  // false means don't pass up (=discard) event                return;            }        }        if(up_prot != null) {            up_prot.receiveUpEvent(evt);        }        else            if(log.isErrorEnabled()) log.error("no upper layer available");    }