public PeerToPeerService(ILogger <PeerToPeerService> logger, PeerToPeerMessageHandler peerToPeerMessageHandler, BlockContentService blockContentService, WebSocketsHandler webSocketsHandler) { _logger = logger; _peerToPeerMessageHandler = peerToPeerMessageHandler; _blockContentService = blockContentService; _webSocketsHandler = webSocketsHandler; }
public PeerToPeerMessageHandler(ILogger <PeerToPeerMessageHandler> logger, BlockService blockService, Base64Handler base64Handler, BlockContentService blockContentService) { _logger = logger; _blockService = blockService; _base64Handler = base64Handler; _blockContentService = blockContentService; _rdf4jSerializationHandler = new DotNetRdfSerializationHandler(); _rdf4jMapper = new DotNetRdfMapper(); }