Example #1
0
        public ReferenceWriteServiceHost(ReferenceWriteService service, IBroker broker) : base(broker, "reference")
        {
            _service = service;

            RegisterCall(ActivateCurrencyPairProcedureName, ActivateCurrencyPair);
            RegisterCall(DeactivateCurrencyPairProcedureName, DeactivateCurrencyPair);
            StartHeartBeat();
        }
        public ReferenceWriteServiceHost(ReferenceWriteService service, IBroker broker) : base(broker, "reference")
        {
            _service = service;

            RegisterCall(ActivateCurrencyPairProcedureName, ActivateCurrencyPair);
            RegisterCall(DeactivateCurrencyPairProcedureName, DeactivateCurrencyPair);
            StartHeartBeat();
        }