public IClientChannelSink CreateSink(IChannelSender channel, string url, object remoteChannelData)
 {
     IpcClientTransportSink sink = new IpcClientTransportSink(url, (IpcClientChannel) channel);
     if (this._prop != null)
     {
         foreach (object obj2 in this._prop.Keys)
         {
             sink[obj2] = this._prop[obj2];
         }
     }
     return sink;
 }
Exemplo n.º 2
0
        public IClientChannelSink CreateSink(IChannelSender channel, string url, object remoteChannelData)
        {
            IpcClientTransportSink sink = new IpcClientTransportSink(url, (IpcClientChannel)channel);

            if (this._prop != null)
            {
                foreach (object obj2 in this._prop.Keys)
                {
                    sink[obj2] = this._prop[obj2];
                }
            }
            return(sink);
        }
Exemplo n.º 3
0
        public IClientChannelSink CreateSink(IChannelSender channel, String url,
                                             Object remoteChannelData)
        {
            // url is set to the channel uri in CreateMessageSink
            IpcClientTransportSink sink = new IpcClientTransportSink(url, (IpcClientChannel)channel);

            if (_prop != null)
            {
                // Tansfer all properties from the channel to the sink
                foreach (Object key in _prop.Keys)
                {
                    sink[key] = _prop[key];
                }
            }
            return(sink);
        }
Exemplo n.º 4
0
 public IClientChannelSink CreateSink(IChannelSender channel, String url, 
                                      Object remoteChannelData)
 {
     // url is set to the channel uri in CreateMessageSink        
     IpcClientTransportSink sink = new IpcClientTransportSink(url, (IpcClientChannel) channel);
     if (_prop != null)
     {
         // Tansfer all properties from the channel to the sink
         foreach(Object key in _prop.Keys)
         {
             sink[key] = _prop[key];
         }
     }
     return sink;
 }
Exemplo n.º 5
0
 internal IpcClientHandler(IpcPort port, Stream stream, IpcClientTransportSink sink) : base (port, null, stream)
 {
     _sink = sink;
 }
Exemplo n.º 6
0
 internal IpcClientHandler(IpcPort port, Stream stream, IpcClientTransportSink sink) : base(port, null, stream)
 {
     this._sink = sink;
 }