package com.xqbase.baiji.transport.bridge.client;

/**
 * Created by tonyhe on 15-5-27.
 */
public class ChannelPoolHandler {
}

@@ -48,80 +48,692 @@
 t;%0A%0A
-/**%0A * Created by tonyhe on 15-5-27.%0A */%0Apublic class ChannelPoolHandler
+import com.xqbase.baiji.transport.apool.AsyncPool;%0A%0Aimport java.nio.channels.Channel;%0A%0A/**%0A * Listens for upstream events affecting the state of the channel as%0A * it relates to the pool. This handler does not call super because%0A * it expects to be the last handler in the pipeline, to ensure that%0A * every other handler has had a chance to process the event and finish%0A * with the channel.%0A *%0A * Basically, the handler's job is to return the channel to the pool,%0A * or ask the pool to dispose of the channel, after the response is%0A * received or after an error occurs.%0A *%0A * @author Tony He%0A */%0Apublic class ChannelPoolHandler extends UpStreamHandlerWithAttachment%3CAsyncPool%3CChannel%3E%3E
  %7B%0A%7D

update the ChannelPoolHandler...