Creates server channel sinks for the server channel through which remoting messages flow.

See Also: IServerChannelSinkProvider Members


public interface IServerChannelSinkProvider


Channel sinks are connected to a server channel through implementations of the System.Runtime.Remoting.Channels.IServerChannelSinkProvider interface. All the remoting server channels provide constructors that take a System.Runtime.Remoting.Channels.IServerChannelSinkProvider as a parameter.

Channel sink providers are stored in a chain, and the user is responsible for chaining all channel sink providers together before passing the outer one to the channel constructor. System.Runtime.Remoting.Channels.IServerChannelSinkProvider provides a property called IServerChannelSinkProvider.Next for this purpose.

When multiple channel sink providers are specified in a configuration file, the remoting infrastructure will chain them together in the order they are found in the configuration file. The channel sink providers are created at the same time as the channel, during a System.Runtime.Remoting.RemotingConfiguration.Configure(string) call.

After the System.Runtime.Remoting.Messaging.IMethodCallMessage is generated, .NET Framework searches through the list of registered channels to find one that can process the call. Once an appropriate channel has been found, the channel sink is retrieved from the channel, and the System.Runtime.Remoting.Messaging.IMethodCallMessage is forwarded to the sink for processing.


Namespace: System.Runtime.Remoting.Channels
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,