コード例 #1
0
        public LocalUnixIpcServerChannel(string name, string portName)
        {
            _portName = portName;
            _path     = BuildPathFromPortName(portName);

            _innerChannel = Activator.CreateInstance(LocalUnixChannelLoader.LoadServerChannel(), new object [] { name, _path });
        }
コード例 #2
0
 public LocalUnixIpcClientChannel(string name,
                                  IClientChannelSinkProvider sinkProvider)
 {
     _innerChannel = Activator.CreateInstance(LocalUnixChannelLoader.LoadClientChannel(), new object [] {
         name,
         sinkProvider
     });
 }
コード例 #3
0
 public LocalUnixIpcClientChannel(IDictionary properties,
                                  IClientChannelSinkProvider sinkProvider)
 {
     _innerChannel = Activator.CreateInstance(LocalUnixChannelLoader.LoadClientChannel(), new object [] {
         properties,
         sinkProvider
     });
 }
コード例 #4
0
        public LocalUnixIpcServerChannel(IDictionary properties,
                                         IServerChannelSinkProvider serverSinkProvider)
        {
            properties = MapProperties(properties);
            if (properties != null)
            {
                _portName = properties ["portName"] as string;
                _path     = properties ["path"] as string;
            }

            _innerChannel = Activator.CreateInstance(LocalUnixChannelLoader.LoadServerChannel(), new object [] { properties, serverSinkProvider });
        }
コード例 #5
0
 public LocalUnixIpcClientChannel()
 {
     _innerChannel = Activator.CreateInstance(LocalUnixChannelLoader.LoadClientChannel());
 }