Exemple #1
0
        public IpcServerChannel(string name, string portName)
        {
            _portName = portName;
            _path     = portName = BuildPathFromPortName(portName);

            _innerChannel = Activator.CreateInstance(UnixChannelLoader.LoadServerChannel(), new object [] { name, portName });
        }
Exemple #2
0
        public IpcServerChannel(IDictionary properties,
                                IServerChannelSinkProvider serverSinkProvider)
        {
            properties = MapProperties(properties);
            if (properties != null)
            {
                _portName = properties ["portName"] as string;
                _path     = properties ["path"] as string;
            }

            _innerChannel = Activator.CreateInstance(UnixChannelLoader.LoadServerChannel(), new object [] { properties, serverSinkProvider });
        }
 public IpcClientChannel(string name,
                         IClientChannelSinkProvider sinkProvider)
 {
     _innerChannel = Activator.CreateInstance(UnixChannelLoader.LoadClientChannel(), new object [] { name, sinkProvider });
 }
 public IpcClientChannel(IDictionary properties,
                         IClientChannelSinkProvider sinkProvider)
 {
     _innerChannel = Activator.CreateInstance(UnixChannelLoader.LoadClientChannel(), new object [] { properties, sinkProvider });
 }
 public IpcClientChannel()
 {
     _innerChannel = Activator.CreateInstance(UnixChannelLoader.LoadClientChannel());
 }