Exemplo n.º 1
0
        public EpmService()
        {
            disposed  = false;
            pool      = new ConnectionProvider();
            transport = pool.GetConnection();
            TProtocol protocol = new TBinaryProtocol(transport);

            client = new Datahouse.Client(protocol);
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 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);
     }
 }