Beispiel #1
0
 public NamedPipeServer(string pipeName, NamedPipeServerOptions options)
 {
     _pool         = new ServerStreamPool(pipeName, options, HandleConnection);
     ServiceBinder = new ServiceBinderImpl(this);
 }
Beispiel #2
0
 public NamedPipeServer(Func <INamedPipeServerStream> factory)
 {
     _pool         = new ServerStreamPool(factory, HandleConnection);
     ServiceBinder = new ServiceBinderImpl(this);
 }