this.connectListener = connectListener;
}
@Override
protected void initChannel(SocketChannel channel) throws Exception {
RemoteConnection remoteConnection = getRemoteConnection(channel);
ChannelPipeline pipeline = channel.pipeline();
pipeline.addLast("decoder", new RemoteObjectDecoder(remoteConnection));
pipeline.addLast("encoder", new RemoteObjectEncoder(remoteConnection));