Пример #1
0
 public ServerLJP(IServerConnector serverTCP
                  , IFactoryClientLJP factoryClientTCP
                  )
 {
     this.oIServerTCP      = serverTCP;
     this.factoryClientLJP = factoryClientTCP;
 }
Пример #2
0
        public ClientLJP
        (
            IClientConnectorFactory factoryConnectorFactory
            , IReflector reflector
            , ILogger logger
            , IFactoryClientLJP factoryClientLJP
            , IOptions <ClientLJPOptions> options
        )
        {
            this.logger           = logger;
            this.reflector        = reflector;
            this.factoryClientLJP = factoryClientLJP;
            this.ClientConnector  = factoryConnectorFactory.Create();

            this.options = options.Value;
        }