Ejemplo n.º 1
0
 private void InteractionInitialize(InteractionMode iMode)
 {
     _interaction             = TeleInteraction(iMode);
     _callbackProxy           = new DatabaseWorkerCallback();
     _proxy                   = new DatabaseWorkerProxy(_callbackProxy);
     _parser                  = new InputParserEntryPoint(_interaction, _proxy, _owmToken);
     _neuralNetworkEntryPoint = new NeuralNetworkEntryPoint(_interaction);
 }
Ejemplo n.º 2
0
 public DatabaseWorkerProxy(IQueryHandlerContractCallback databaseWorkerCallback)
 {
     _proxy = new QueryHandlerContractClient(new InstanceContext(databaseWorkerCallback));
     _proxy.Open();
 }