add AbstractCanalInstance and remove duplicate code

This commit is contained in:
yinxiu
2016-01-08 20:32:08 +08:00
parent 9164fe4ca7
commit 7b29828f60
5 changed files with 252 additions and 361 deletions

View File

@@ -3,6 +3,7 @@ package com.alibaba.otter.canal.server.netty;
import java.net.InetSocketAddress;
import java.util.concurrent.Executors;
import com.alibaba.otter.canal.instance.core.CanalInstance;
import org.apache.commons.lang.StringUtils;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.Channel;