| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // System.Runtime.Remoting.Channels.Simple.SimpleClientTransportSinkProvider.cs
- //
- // Author: Dietmar Maurer ([email protected])
- //
- // 2002 (C) Copyright, Ximian, Inc.
- //
- using System.Collections;
- using System.IO;
- using System.Net.Sockets;
- using System.Runtime.Remoting.Messaging;
- using System.Runtime.Remoting.Channels;
- namespace System.Runtime.Remoting.Channels.Simple
- {
- public class SimpleClientTransportSinkProvider : IClientChannelSinkProvider
- {
- public SimpleClientTransportSinkProvider ()
- {
- // what should we do here ?
- }
- public IClientChannelSinkProvider Next
- {
- get {
- return null;
- }
- set {
- // ignore, we are always the last in the chain
- }
- }
- public IClientChannelSink CreateSink (IChannelSender channel, string url,
- object remoteChannelData)
- {
- return new SimpleClientTransportSink (url);
- }
- }
- }
|