public DataHandlerServiceObject()
        {
            ProtoBufHelper.BasicPrepare();

            _req  = new Dealer <DataRequest, List <FlightInfo> >("tcp://127.0.0.1:5656");
            _pull = new Pull <Tuple <string, List <FlightInfo> > >("tcp://127.0.0.1:5657", PullAction);
            _push = new Push <PushMessage>("tcp://127.0.0.1:5658");

            Task.Factory.StartNew(_pull.Start);
        }
        public DataHandlerWrapper()
        {
            ProtoBufHelper.Prepare(
                typeof(Object),
                typeof(DataRequest),
                typeof(PushMessage),
                typeof(FlightDataHandler.Models.FlightInfo));

            _rep  = new Router <DataRequest, List <FlightInfo> >("tcp://127.0.0.1:5656", ExecuteRequest);
            _push = new Push <Tuple <string, List <FlightInfo> > >("tcp://127.0.0.1:5657");
            _pull = new Pull <PushMessage>("tcp://127.0.0.1:5658", PullAction);

            Task.Factory.StartNew(_rep.Start);
            Task.Factory.StartNew(_pull.Start);

            _dataHandler.UpdatedClientData += _dataHandler_UpdatedClientData;
        }