当前位置: 首页>>代码示例>>C#>>正文


C# IServerChannelSink类代码示例

本文整理汇总了C#中IServerChannelSink的典型用法代码示例。如果您正苦于以下问题:C# IServerChannelSink类的具体用法?C# IServerChannelSink怎么用?C# IServerChannelSink使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IServerChannelSink类属于命名空间,在下文中一共展示了IServerChannelSink类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SinkStackEntry

		// Constructor.
		public SinkStackEntry(IServerChannelSink sink, Object state,
							  SinkStackEntry below)
				{
					this.sink = sink;
					this.state = state;
					this.below = below;
				}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:8,代码来源:ServerChannelSinkStack.cs

示例2: SoapServerFormatterSink

		public SoapServerFormatterSink (SoapServerFormatterSink.Protocol protocol,
						IServerChannelSink nextSink,
						IChannelReceiver receiver)
		{
			this.next_sink = nextSink;
			_receiver = receiver;
		}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:7,代码来源:SoapServerFormatterSink.cs

示例3: BidirTcpServerTransportSink

 public BidirTcpServerTransportSink(IServerChannelSink nextSink, int port, String IPAddress)
 {
     _port = port;
     _IPAddress = IPAddress;
     _nextSink = nextSink;
     // StartListening();
 }
开发者ID:pacificIT,项目名称:smuxi,代码行数:7,代码来源:ServerTransportSink.cs

示例4: BinaryServerFormatterSink

		public BinaryServerFormatterSink (BinaryServerFormatterSink.Protocol protocol,
						  IServerChannelSink nextSink,
						  IChannelReceiver receiver)
		{
			this.protocol = protocol;
			this.next_sink = nextSink;
			this.receiver = receiver;
		}
开发者ID:nlhepler,项目名称:mono,代码行数:8,代码来源:BinaryServerFormatterSink.cs

示例5: CounterServerChannelSink

        /// <summary>Erstellt eine neue Instanz von CounterServerChannelSink.</summary>
        /// <param name="nextSink">Nächste Kanalsenke in der Senkenkette</param>
        public CounterServerChannelSink(IServerChannelSink nextSink)
        {
            //Lock objekt erstellen
            _lockObject = new object();

            // Nächste Kanalsenke übernehmen
            _next = nextSink;
        }
开发者ID:yallie,项目名称:zyan,代码行数:10,代码来源:CounterServerChannelSink.cs

示例6: HathiServerChannelSink

 public HathiServerChannelSink(IServerChannelSinkProvider Provider, IChannelReceiver channel)
 {
     IServerChannelSink nextServer = (IServerChannelSink)new BinaryServerFormatterSink(
                                                                         BinaryServerFormatterSink.Protocol.Other, this.NextChannelSink, channel);
     if (channel != null) m_channel = channel;
     if (Provider != null) m_Provider = Provider as HathiServerSinkProvider;
     m_NextIServerChannelSink = new HathiServerChannelSink(Provider, channel, nextServer);
 }
开发者ID:elnomade,项目名称:hathi,代码行数:8,代码来源:HathiServerChannelSink.cs

示例7: ServerTransportSink

		public ServerTransportSink(IServerChannelSink nextSink)
		{
			// parameters validation
			if (nextSink == null)
				throw new ArgumentNullException("nextSink");

			_nextSink = nextSink;
		}
开发者ID:Orvid,项目名称:NAntUniversalTasks,代码行数:8,代码来源:ServerTransportSink.cs

示例8: IpFixServerChannelSink

        public IpFixServerChannelSink(IServerChannelSink nextSink, IEventLink eventLink)
        {
            if (nextSink == null) 
                throw new ArgumentNullException("nextSink");

            _nextSink = nextSink;
            _eventLink = eventLink;
        }
开发者ID:Dennis-Petrov,项目名称:Cash,代码行数:8,代码来源:IpFixServerChannelSink.cs

示例9: CompressionServerChannelSink

 /// <summary>
 /// Constructor with properties.
 /// </summary>
 /// <param name="nextSink">Next sink.</param>
 /// <param name="compressionThreshold">Compression threshold. If 0, compression is disabled globally.</param>
 public CompressionServerChannelSink(
     IServerChannelSink nextSink,
     int compressionThreshold)
 {
     // Set the next sink.
     _next = nextSink;
     // Set the compression threshold.
     _compressionThreshold = compressionThreshold;
 }
开发者ID:yallie,项目名称:zyan,代码行数:14,代码来源:CompressionServerChannelSink.cs

示例10: SoapServerFormatterSink

 public SoapServerFormatterSink(Protocol protocol, IServerChannelSink nextSink, IChannelReceiver receiver)
 {
     if (receiver == null)
     {
         throw new ArgumentNullException("receiver");
     }
     this._nextSink = nextSink;
     this._protocol = protocol;
     this._receiver = receiver;
 }
开发者ID:pritesh-mandowara-sp,项目名称:DecompliedDotNetLibraries,代码行数:10,代码来源:SoapServerFormatterSink.cs

示例11: ServerFormatterSink

        public ServerFormatterSink(IWireFormatter formatter, IServerChannelSink nextSink)
        {
            // parameters validation
            if (formatter == null)
                throw new ArgumentNullException("formatter");
            if (nextSink == null)
                throw new ArgumentNullException("nextSink");

            _formatter = formatter;
            _nextSink = nextSink;
        }
开发者ID:vadimskipin,项目名称:DVRemoting,代码行数:11,代码来源:ServerFormatterSink.cs

示例12: CompressionServerSink

		public CompressionServerSink(
			IServerChannelSink nextChannelSink_in,
			bool mustDo_in
		) {
#if DEBUG
			Console.WriteLine("initiating compression sink");
#endif

			this.mustdo_ = mustDo_in;
			this.nextchannelsink_ = nextChannelSink_in;
		} 
开发者ID:katshann,项目名称:ogen,代码行数:11,代码来源:CompressionServerSink.cs

示例13: SecureServerChannelSink

        public SecureServerChannelSink(IServerChannelSink nextSink, string algorithm, double connectionAgeLimit, double sweeperFrequency, bool requireSecurity)
        {
            _algorithm = algorithm;
            _connectionAgeLimit = connectionAgeLimit;
            _sweepFrequency = sweeperFrequency;
            _requireSecurity = requireSecurity;

            _next = nextSink;

            _connections = new Hashtable(103, 0.5F);
            StartConnectionSweeper();
        }
开发者ID:hostitherepc,项目名称:Fork-1,代码行数:12,代码来源:SecureServerChannelSink.cs

示例14: Pop

		public object Pop (IServerChannelSink sink)
		{
			// Pops until the sink is found

			while (_sinkStack != null)
			{
				ChanelSinkStackEntry stackEntry = _sinkStack;
				_sinkStack = _sinkStack.Next;
				if (stackEntry.Sink == sink) return stackEntry.State;
			}
			throw new RemotingException ("The current sink stack is empty, or the specified sink was never pushed onto the current stack");
		}
开发者ID:KonajuGames,项目名称:SharpLang,代码行数:12,代码来源:ServerChannelSinkStack.cs

示例15: EncryptionServerSink

		public EncryptionServerSink(
			IServerChannelSink nextChannelSink_in,
			string keysPath_in, 
			bool mustDo_in
		) {
#if DEBUG
			Console.WriteLine("initiating encryption sink");
#endif

			keyspath_ = keysPath_in;
			mustdo_ = mustDo_in;
			nextchannelsink_ = nextChannelSink_in;
		} 
开发者ID:BackupTheBerlios,项目名称:ogen-svn,代码行数:13,代码来源:EncryptionServerSink.cs


注:本文中的IServerChannelSink类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。