1 接收器

ILateralCacheListener<K, V> listener = createListener(cacheattr, cacheMgr);

2 发送器(数组)

LateralCacheAsync<K, V>[] asyncArray = asyncs.toArray(new LateralCacheAsync[0]);

3 门面

LateralCacheAsyncFacade<K, V> lcaf = new LateralCacheAsyncFacade<K, V>(listener, asyncArray, cacheattr);

4 监听器(将门面添加到监听器里面)

LateralTCPDiscoveryListener discoveryListener = getDiscoveryListener(cacheattr, cacheMgr);
            discoveryListener.addAsyncFacade(cacheattr.getCacheName(), lcaf);

5 发现器

discovery.addDiscoveryListener(discoveryListener);

6 接受消息,动态增删发送器