void IServerChannelSinkProvider.GetChannelData(IChannelDataStore channelData)
 {
     if (next != null)
     {
         next.GetChannelData(channelData);
     }
 }
		public void GetChannelData (IChannelDataStore channelData)
		{
			if(next != null)
				next.GetChannelData(channelData);
		}
 public void GetChannelData (IChannelDataStore channelData) {
   // nothing to do; there should be...
 }
 public void GetChannelData(IChannelDataStore channelData)
 {
     // don't care
 }
		public void GetChannelData (IChannelDataStore channelData)
		{
			// Nothing to add here
		}
Beispiel #6
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     _sinkProvider.GetChannelData(channelData);
 }
Beispiel #7
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     _sinkProvider.GetChannelData(channelData);
 }
Beispiel #8
0
 public void GetChannelData(IChannelDataStore localChannelData)
 {
 }
 // Methods
 public virtual void GetChannelData(IChannelDataStore channelData)
 {
 }
Beispiel #10
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // not needed
 }
 public void GetChannelData(IChannelDataStore channelData) {
     // not useful for this provider
 }
Beispiel #12
0
 void IServerChannelSinkProvider.GetChannelData(IChannelDataStore channelData)
 {
 }
 public void GetChannelData(IChannelDataStore channelData)
 {
     /* empty */
 }
Beispiel #14
0
 /// <summary>
 /// Returns the channel data for the channel that the current sink is associated with. Compression sink doesn't have any specific data.
 /// </summary>
 /// <param name="channelData">A <see cref="T:System.Runtime.Remoting.Channels.IChannelDataStore"/> object in which the channel data is to be returned.</param>
 /// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
 public void GetChannelData(IChannelDataStore channelData)
 {
     // Do nothing.  No channel specific data.
 }
 /// <summary>
 /// not implemented
 /// </summary>
 public void GetChannelData(IChannelDataStore channelData)
 {
     // not needed
 }
Beispiel #16
0
 public void GetChannelData(
     IChannelDataStore channelData_in
     )
 {
     // ...
 }
		public void GetChannelData(
			IChannelDataStore channelData_in
		) {
			// ...
		}
Beispiel #18
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // TODO: not required???
 }
Beispiel #19
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // don't care
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="channelData"></param>
 public void GetChannelData(IChannelDataStore channelData)
 {
     //nothing to do
 }
 public void GetChannelData(IChannelDataStore channelData)
 {
     // EMPTY
 }
Beispiel #22
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // nothing to do; there should be...
 }
 /// <summary>
 /// Returns the channel data for the channel that the current sink is associated with. Compression sink doesn't have any specific data.
 /// </summary>
 /// <param name="channelData">A <see cref="T:System.Runtime.Remoting.Channels.IChannelDataStore"/> object in which the channel data is to be returned.</param>
 /// <exception cref="T:System.Security.SecurityException">The immediate caller does not have infrastructure permission. </exception>
 public void GetChannelData(IChannelDataStore channelData)
 {
     // Do nothing.  No channel specific data.
 }
        public virtual IMessageSink CreateMessageSink(String url, Object remoteChannelData, out String objectURI)
        {
            // Set the out parameters
            objectURI = null;
            String channelURI = null;


            if (url != null) // Is this a well known object?
            {
                // Parse returns null if this is not one of our url's
                channelURI = Parse(url, out objectURI);
            }
            else // determine if we want to connect based on the channel data
            {
                if (remoteChannelData != null)
                {
                    if (remoteChannelData is IChannelDataStore)
                    {
                        IChannelDataStore cds = (IChannelDataStore)remoteChannelData;

                        // see if this is an http uri
                        String simpleChannelUri = Parse(cds.ChannelUris[0], out objectURI);
                        if (simpleChannelUri != null)
                        {
                            channelURI = cds.ChannelUris[0];
                        }
                    }
                }
            }

            if (channelURI != null)
            {
                if (url == null)
                {
                    url = channelURI;
                }

                if (_clientConnectionLimit > 0)
                {
                    ServicePoint sp = ServicePointManager.FindServicePoint(new Uri(channelURI));
                    if (sp.ConnectionLimit < _clientConnectionLimit)
                    {
                        sp.ConnectionLimit = _clientConnectionLimit;
                    }
                }

                // This will return null if one of the sink providers decides it doesn't
                // want to allow (or can't provide) a connection through this channel.
                IClientChannelSink sink = _sinkProvider.CreateSink(this, url, remoteChannelData);

                // return sink after making sure that it implements IMessageSink
                IMessageSink msgSink = sink as IMessageSink;
                if ((sink != null) && (msgSink == null))
                {
                    throw new RemotingException(
                              CoreChannel.GetResourceString("Remoting_Channels_ChannelSinkNotMsgSink"));
                }

                return(msgSink);
            }

            return(null);
        } // CreateMessageSink
 public void GetChannelData(IChannelDataStore channelData)
 {
   // TODO: not required???
 }
 public void GetChannelData(IChannelDataStore channelData)
 {
     // no idea why we need this
 }
		void IServerChannelSinkProvider.GetChannelData(IChannelDataStore channelData)
		{
		}
Beispiel #28
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // Nothing to add here
 }
Beispiel #29
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     m_ChannelData = channelData;
 }
Beispiel #30
0
 public void GetChannelData(IChannelDataStore store)
 {
     _next.GetChannelData(store);
 }
		public void GetChannelData (IChannelDataStore channelData)
		{
			// no idea why we need this
		}
Beispiel #32
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     // not useful for this provider
 }
 public void GetChannelData(IChannelDataStore localChannelData)
 {
 }
Beispiel #34
0
 public void GetChannelData(IChannelDataStore channelData)
 {
 }
 public void GetChannelData(IChannelDataStore channelData)
 {
 } // GetChannelData
Beispiel #36
0
 public void GetChannelData(IChannelDataStore channelData)
 {
     m_ChannelData = channelData;
 }