Example #1
0
        public async Task StartServer()
        {
            if (IpcServerService != null)
            {
                return;
            }

            var ipcServerService = new IpcServerService(IpcContext);

            IpcServerService = ipcServerService;

            ipcServerService.PeerConnected   += NamedPipeServerStreamPoolPeerConnected;
            ipcServerService.MessageReceived += NamedPipeServerStreamPool_MessageReceived;

            await ipcServerService.Start();
        }
 public IpcPipeServerMessageProvider(IpcContext ipcContext, IpcServerService ipcServerService)
 {
     IpcContext       = ipcContext;
     IpcServerService = ipcServerService;
 }
Example #3
0
 public PipeServerMessage(IpcContext ipcContext, IpcServerService ipcServerService)
 {
     IpcContext       = ipcContext;
     IpcServerService = ipcServerService;
 }