public void onEvent(ConnectionEventType type, String remoteAddress, Connection connection) {
        List<ConnectionEventProcessor> processorList = this.processors.get(type);
        if (processorList != null) {
            for (ConnectionEventProcessor processor : processorList) {
                processor.onEvent(remoteAddress, connection);
            }
        }
    }
Dispatch events.

@param type ConnectionEventType
@param remoteAddress remoting address
@param connection Connection
src/main/java/com/alipay/remoting/ConnectionEventListener.java