| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- //
- // System.Runtime.Remoting.Channels.Tcp.TcpClientChannel.cs
- //
- // Author: Dietmar Maurer ([email protected])
- //
- // 2002 (C) Copyright, Ximian, Inc.
- //
- using System.Collections;
- using System.Runtime.Remoting.Messaging;
- using System.Runtime.Remoting.Channels;
- namespace System.Runtime.Remoting.Channels.Tcp
- {
- public class TcpClientChannel : IChannelSender, IChannel
- {
- int priority = 1;
- string name = "tcp";
- IClientChannelSinkProvider sink_provider;
-
- public TcpClientChannel ()
- {
- sink_provider = null;
- }
- public TcpClientChannel (IDictionary properties, IClientChannelSinkProvider sinkProvider)
- {
- priority = 1;
- sink_provider = sinkProvider;
- }
- public TcpClientChannel (string name, IClientChannelSinkProvider sinkProvider)
- {
- priority = 1;
- this.name = name;
- sink_provider = sinkProvider;
- }
-
- public string ChannelName
- {
- get {
- return name;
- }
- }
- public int ChannelPriority
- {
- get {
- return priority;
- }
- }
- [MonoTODO]
- public IMessageSink CreateMessageSink (string url,
- object remoteChannelData,
- out string objectURI)
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- public string Parse (string url, out string objectURI)
- {
- throw new NotImplementedException ();
- }
- }
- }
|