public static BandwidthMeterHandler bwhandler = null;
public ChannelPipeline getPipeline() throws Exception {
ChannelPipeline pipeline = Channels.pipeline();
pipeline.addLast("decoder", new TSODecoder(null));
pipeline.addLast("encoder", new TSOEncoder());
synchronized (this) {
if (x == null)
x = new ExecutionHandler(pipelineExecutor);
if (bwhandler == null)
bwhandler = new BandwidthMeterHandler();