public void addConnectionEventProcessor(ConnectionEventType type,
                                            ConnectionEventProcessor processor) {
        List<ConnectionEventProcessor> processorList = this.processors.get(type);
        if (processorList == null) {
            this.processors.putIfAbsent(type, new CopyOnWriteArrayList<ConnectionEventProcessor>());
            processorList = this.processors.get(type);
        }
        processorList.add(processor);
    }
Add event processor.

@param type ConnectionEventType
@param processor ConnectionEventProcessor
src/main/java/com/alipay/remoting/ConnectionEventListener.java