private void StartIpcServer()
        {
            LogTo.Debug("Starting Plugin IPC Server");

            // Generate random channel name
            IpcServerChannelName = RemotingServicesEx.GenerateIpcServerChannelName();

            IpcServer = RemotingServicesEx.CreateIpcServer <ISMAPluginManager, PluginManager>(this, IpcServerChannelName);
        }
Ejemplo n.º 2
0
        protected void StartIpcServer()
        {
            LogTo.Debug("Starting Plugin IPC Server");

            // Generate random channel name
            IpcServerChannelName = RemotingServicesEx.GenerateIpcServerChannelName();

            IpcServer =
                RemotingServicesEx.CreateIpcServer <IPluginManager <ICore>, TParent>(
                    (TParent)this, IpcServerChannelName);
        }
Ejemplo n.º 3
0
        private string StartIPCServer()
        {
            if (ServerChannel != null)
            {
                throw new InvalidOperationException("IPC Server already started");
            }

            var channelName = RemotingServicesEx.GenerateIpcServerChannelName();

            // TODO: Switch to Duplex (get callback)
            ServerChannel = RemotingServicesEx.CreateIpcServer <SMAHookCallback, SMHookEngine>(
                this,
                channelName
                );

            return(channelName);
        }
Ejemplo n.º 4
0
 private void StartIpcServer()
 {
     _channelName = RemotingServicesEx.GenerateIpcServerChannelName();
     RemotingServicesEx.CreateIpcServer <IBrowserHostService, BrowserHostService>(_hostService, _channelName);
 }