private WebSocketTransmissionServer(WebSocketTransmissionServerOptions options, string protocol) { _options = options; _protocol = protocol; var serverName = $"{protocol}-v1"; _stateWriter = new ServerStateWriter(serverName, _options.WorkingDir); _buffer.Out.PropagateCompletionFrom(Completion); }
public PipeTransmissionServer(string brokerWorkingDir) { _log = LogManager.GetLogger <PipeTransmissionServer>(); _settingsWriter = new ServerStateWriter(ServerName, brokerWorkingDir); _buffer.Out.PropagateCompletionFrom(Completion); }
public WebSocketTransmissionServer(WebSocketTransmissionServerOptions options) { _options = options; _stateWriter = new ServerStateWriter(ServerName, _options.WorkingDir); _buffer.Out.PropagateCompletionFrom(Completion); }
public PipeTransmissionServer(string brokerWorkingDir = null) { _log = LogManager.GetLogger <PipeTransmissionServer>(); brokerWorkingDir = brokerWorkingDir ?? Directory.GetCurrentDirectory(); _settingsWriter = new ServerStateWriter(ServerName, brokerWorkingDir); }
public WebSocketTransmissionServer(string workingDir = null) { _stateWriter = new ServerStateWriter(ServerName, workingDir ?? Directory.GetCurrentDirectory()); }
public WebSocketTransmissionServer(string workingDir, IReadOnlyDictionary <string, string> staticFileMappings = null) { _staticFileMappings = staticFileMappings ?? new Dictionary <string, string>(); _stateWriter = new ServerStateWriter(ServerName, workingDir); _buffer.Out.PropagateCompletionFrom(Completion); }
public WebSocketTransmissionServer(string workingDir) { _stateWriter = new ServerStateWriter(ServerName, workingDir); _buffer.Out.PropagateCompletionFrom(Completion); }