Esempio n. 1
0
 public NamedPipeServer(string pipeName, NamedPipeServerOptions options)
 {
     _pool         = new ServerStreamPool(pipeName, options, HandleConnection);
     ServiceBinder = new ServiceBinderImpl(this);
 }
Esempio n. 2
0
 public NamedPipeServer(string pipeName, NamedPipeServerOptions options)
     : this(() => NamedPipeStreamFactory.Create(pipeName, options))
 {
 }