public EpmService() { disposed = false; pool = new ConnectionProvider(); transport = pool.GetConnection(); TProtocol protocol = new TBinaryProtocol(transport); client = new Datahouse.Client(protocol); }
public Servicer() { try { disposed = false; pool = new ConnectionProvider(); transport = pool.GetConnection(); TProtocol protocol = new TBinaryProtocol(transport); client = new Datahouse.Client(protocol); } catch (Exception e) { LogUtil.Logger.Error(e.Message); } }