src/main/java/com/alipay/remoting/ConnectionEventHandler.java
public void setConnectionEventListener(ConnectionEventListener listener) {
        if (listener != null) {
            this.eventListener = listener;
            if (this.eventExecutor == null) {
                this.eventExecutor = new ConnectionEventExecutor();
            }
        }
    }
public void setConnectionEventListener(ConnectionEventListener listener) {
        if (listener != null) {
            this.eventListener = listener;
            if (this.eventExecutor == null) {
                this.eventExecutor = new ConnectionEventExecutor();
            }
        }
    }
public void setConnectionEventListener ( ConnectionEventListener listener ) { if ( listener != null ) { this . eventListener = listener ; if ( this . eventExecutor == null ) { this . eventExecutor = new ConnectionEventExecutor ( ) ; } } }
Setter method for property <tt>listener</tt>.

@param listener value to be assigned to property listener
Setter method for property <tt > listener< / tt > .