示例#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);
 }