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

            client = new Datahouse.Client(protocol);
        }
Esempio 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);
     }
 }
Esempio 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);
     }
 }