public CommunicationManager(NodeInfo node, INodeMarshaller marshaller, ISocketCache socketCache, IPublisher publisher, Action <string> logger) { _node = node; _marshaller = marshaller; _socketCache = socketCache; _publisher = publisher; _logger = logger; }
public ICommunicationManager Create(NodeInfo nodeInfo, INodeMarshaller marshaller, ISocketCache socketCache, IPublisher publisher, Action <string> logger) { return(new CommunicationManager(nodeInfo, marshaller, socketCache, publisher, logger)); }