IServerChannelSinkProvider Interface
Creates server channel sinks for the server channel through which remoting messages flow.
For a list of all members of this type, see IServerChannelSinkProvider Members.
[Visual Basic] Public Interface IServerChannelSinkProvider [C#] public interface IServerChannelSinkProvider [C++] public __gc __interface IServerChannelSinkProvider [JScript] public interface IServerChannelSinkProvider
Classes that Implement IServerChannelSinkProvider
| Class | Description |
|---|---|
| BinaryServerFormatterSinkProvider | Provides the implementation for the server formatter channel sink provider that uses the BinaryFormatter. |
| SdlChannelSinkProvider | Provides the implementation for the server channel sink provider that creates SdlChannelSink instances. |
| SoapServerFormatterSinkProvider | Provides the implementation for a server formatter channel sink provider that uses the SoapFormatter. |
Remarks
Channel sinks are connected to a server channel through implementations of the IServerChannelSinkProvider interface. All the remoting server channels provide constructors that take an 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. IServerChannelSinkProvider provides a property called 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 RemotingConfiguration.Configure call.
After the 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 IMethodCallMessage is forwarded to the sink for processing.
Requirements
Namespace: System.Runtime.Remoting.Channels
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
IServerChannelSinkProvider Members | System.Runtime.Remoting.Channels Namespace