public PofDispatcherImpl(PofStreamReader reader, IConcurrentDictionary <Type, Action <object> > handlersByType, IConcurrentSet <Action> shutdownHandlers, ICancellationTokenSource dispatcherTaskCancellationTokenSource) { this.reader = reader; this.handlersByType = handlersByType; this.shutdownHandlers = shutdownHandlers; this.dispatcherTaskCancellationTokenSource = dispatcherTaskCancellationTokenSource; }
public HostSessionImpl(HostContext hostContext, ICancellationTokenSource cancellationTokenSource, MessageSender messageSender, PofDispatcher pofDispatcher, IConcurrentSet <Guid> remotelyHostedServices, IUniqueIdentificationSet availableInvocationIds, IConcurrentDictionary <uint, AsyncValueBox> invocationResponseBoxesById) { this.hostContext = hostContext; this.cancellationTokenSource = cancellationTokenSource; this.messageSender = messageSender; this.pofDispatcher = pofDispatcher; this.remotelyHostedServices = remotelyHostedServices; this.availableInvocationIds = availableInvocationIds; this.invocationResponseBoxesById = invocationResponseBoxesById; }
public HostPhase(ICollectionFactory collectionFactory, IThreadingProxy threadingProxy, HostSessionFactory hostSessionFactory, HostContext hostContext, IListenerSocket listenerSocket) { this.threadingProxy = threadingProxy; this.hostSessionFactory = hostSessionFactory; this.hostContext = hostContext; this.listenerSocket = listenerSocket; this.cancellationTokenSource = threadingProxy.CreateCancellationTokenSource(); this.listenerThread = threadingProxy.CreateThread(ListenerThreadEntryPoint, new ThreadCreationOptions { IsBackground = true }); sessions = collectionFactory.CreateConcurrentSet <HostSession>(); }
public PofDispatcherImpl( IThreadingProxy threadingProxy, PofStreamReader reader, IConcurrentDictionary <Type, Action <object> > handlersByType, IConcurrentSet <Action> shutdownHandlers ) : this( reader, handlersByType, shutdownHandlers, threadingProxy.CreateCancellationTokenSource() ) { }
public CourierFacade(IConcurrentSet<ITransport> transports, IRyuContainer container) { this.transports = transports; this.container = container; }
public Messenger(Identity identity, IConcurrentSet <ITransport> transports, RoutingTable routingTable) { this.identity = identity; this.transports = transports; this.routingTable = routingTable; }
public HostContextImpl(PortableObjectBoxConverter portableObjectBoxConverter, LocalServiceContainer localServiceContainer, IConcurrentSet <RemoteInvokable> remoteInvokables) { this.portableObjectBoxConverter = portableObjectBoxConverter; this.localServiceContainer = localServiceContainer; this.remoteInvokables = remoteInvokables; }
public CourierFacade(IConcurrentSet <ITransport> transports, IRyuContainer container) { this.transports = transports; this.container = container; }
public RootViewModel(Window window, IConcurrentSet<Keys> pushedKeys) { this.window = window; this.pushedKeys = pushedKeys; }