예제 #1
0
        public static IpcServer Create(OutOfProcessServerOptions Options, OutOfProcessFactory?Factory = default)
        {
            var EP = Options.ToEndpoint();

            var Server  = new IpcServer(EP);
            var Handler = new OutOfProcessController(Server, Options, Factory);

            Server.Handler = Handler;

            return(Server);
        }
예제 #2
0
 public OutOfProcessController(IpcServerBase Server, OutOfProcessServerOptions Options, OutOfProcessFactory?Factory = default)
 {
     V3 = new StoppableIpcServer(Server);
     V1 = new MultiIpcServer(Options.ToEndpoint());
     V2 = new OutOfProcessCloneableIpcServer(Options, Factory);
 }