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