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