コード例 #1
0
 public NetworkContextImpl(UdpCourierNetwork udpCourierNetwork, INetworkingProxy networkingProxy, UdpCourierNetworkConfiguration configuration, ReadableCourierEndpoint endpoint)
 {
     this.udpCourierNetwork = udpCourierNetwork;
     this.networkingProxy   = networkingProxy;
     this.configuration     = configuration;
     this.endpoint          = endpoint;
 }
コード例 #2
0
 public CourierClientFactoryImpl(GuidProxy guidProxy, IThreadingProxy threadingProxy, INetworkingProxy networkingProxy, ObjectPoolFactory objectPoolFactory, IPofSerializer pofSerializer)
 {
     this.guidProxy         = guidProxy;
     this.threadingProxy    = threadingProxy;
     this.networkingProxy   = networkingProxy;
     this.objectPoolFactory = objectPoolFactory;
     this.pofSerializer     = pofSerializer;
 }
コード例 #3
0
 public IndeterminateClusteringPhase(IThreadingProxy threadingProxy, INetworkingProxy networkingProxy, ClusteringPhaseFactory clusteringPhaseFactory, ClusteringConfiguration clusteringConfiguration, LocalServiceContainer localServiceContainer, ClusteringPhaseManager clusteringPhaseManager)
 {
     this.threadingProxy          = threadingProxy;
     this.networkingProxy         = networkingProxy;
     this.clusteringPhaseFactory  = clusteringPhaseFactory;
     this.clusteringConfiguration = clusteringConfiguration;
     this.localServiceContainer   = localServiceContainer;
     this.clusteringPhaseManager  = clusteringPhaseManager;
 }
コード例 #4
0
 public ServiceClientFactoryImpl(ProxyGenerator proxyGenerator, IStreamFactory streamFactory, ICollectionFactory collectionFactory, IThreadingProxy threadingProxy, INetworkingProxy networkingProxy, IPofSerializer pofSerializer, PofStreamsFactory pofStreamsFactory)
 {
     this.proxyGenerator    = proxyGenerator;
     this.streamFactory     = streamFactory;
     this.collectionFactory = collectionFactory;
     this.threadingProxy    = threadingProxy;
     this.networkingProxy   = networkingProxy;
     this.pofSerializer     = pofSerializer;
     this.pofStreamsFactory = pofStreamsFactory;
 }
コード例 #5
0
 public ClusteringPhaseFactoryImpl(ICollectionFactory collectionFactory, IThreadingProxy threadingProxy, INetworkingProxy networkingProxy, PofStreamsFactory pofStreamsFactory, HostSessionFactory hostSessionFactory, ClusteringConfiguration clusteringConfiguration, PortableObjectBoxConverter portableObjectBoxConverter, ClusteringPhaseManager clusteringPhaseManager)
 {
     this.collectionFactory          = collectionFactory;
     this.threadingProxy             = threadingProxy;
     this.networkingProxy            = networkingProxy;
     this.pofStreamsFactory          = pofStreamsFactory;
     this.hostSessionFactory         = hostSessionFactory;
     this.clusteringConfiguration    = clusteringConfiguration;
     this.portableObjectBoxConverter = portableObjectBoxConverter;
     this.clusteringPhaseManager     = clusteringPhaseManager;
 }
コード例 #6
0
 public ThumbnailGenerationEgg()
 {
     collectionFactory = new CollectionFactory();
      var streamFactory = new StreamFactory();
      var processProxy = new ProcessProxy();
      threadingProxy = new ThreadingProxy(new ThreadingFactory(), new SynchronizationFactory());
      pofContext = new PofContext().With(x => {
     x.MergeContext(new ManagementPofContext());
     x.MergeContext(new ThumbnailGeneratorApiPofContext());
      });
      pofSerializer = new PofSerializer(pofContext);
      networkingProxy = new NetworkingProxy(new SocketFactory(new TcpEndPointFactory(new DnsProxy()), new NetworkingInternalFactory(threadingProxy, streamFactory)), new TcpEndPointFactory(new DnsProxy()));
      thumbnailGeneratorService = new ThumbnailGeneratorServiceImpl();
 }
コード例 #7
0
        public ThumbnailGenerationEgg()
        {
            collectionFactory = new CollectionFactory();
            var streamFactory = new StreamFactory();
            var processProxy  = new ProcessProxy();

            threadingProxy = new ThreadingProxy(new ThreadingFactory(), new SynchronizationFactory());
            pofContext     = new PofContext().With(x => {
                x.MergeContext(new ManagementPofContext());
                x.MergeContext(new ThumbnailGeneratorApiPofContext());
            });
            pofSerializer             = new PofSerializer(pofContext);
            networkingProxy           = new NetworkingProxy(new SocketFactory(new TcpEndPointFactory(new DnsProxy()), new NetworkingInternalFactory(threadingProxy, streamFactory)), new TcpEndPointFactory(new DnsProxy()));
            thumbnailGeneratorService = new ThumbnailGeneratorServiceImpl();
        }
コード例 #8
0
 public UdpCourierNetwork(INetworkingProxy networkingProxy, UdpCourierNetworkConfiguration configuration)
 {
     this.networkingProxy = networkingProxy;
     this.configuration   = configuration;
 }