public CommunicationManager(NodeInfo node, INodeMarshaller marshaller, ISocketCache socketCache, IPublisher publisher, Action <string> logger) { _node = node; _marshaller = marshaller; _socketCache = socketCache; _publisher = publisher; _logger = logger; }
public AwaitAckHandler(IActionScheduler actionScheduler, IExpiryTimeCalculator expiryCalculator, INodeMarshaller marshaller, IOutgoingSocket actorSocket, Action <string> logger, AwaitConfiguration config) { _actionScheduler = actionScheduler; _disposeAction = new DisposableAction( () => { _actionScheduler.ExecuteAction += OneExecuteAction; }, () => { _actionScheduler.ExecuteAction -= OneExecuteAction; }); _expiryCalculator = expiryCalculator; _config = config; _marshaller = marshaller; _actorSocket = actorSocket; _logger = logger; }
public ICommunicationManager Create(NodeInfo nodeInfo, INodeMarshaller marshaller, ISocketCache socketCache, IPublisher publisher, Action <string> logger) { return(new CommunicationManager(nodeInfo, marshaller, socketCache, publisher, logger)); }
public NodeActionScheduler(IUtcClock clock, IActionTimer timer, INodeMarshaller marshaller, IOutgoingSocket actorSocket) : base(clock, timer) { _marshaller = marshaller; _actorSocket = actorSocket; }