2 instantiations of ChannelHandler
System.ServiceModel.Primitives (2)
System\ServiceModel\Channels\ServiceChannelFactory.cs (1)
317duplexChannelBinder.ChannelHandler = new ChannelHandler(MessageVersion, binder, serviceChannel);
System\ServiceModel\Dispatcher\ListenerHandler.cs (1)
228ChannelHandler handler = new ChannelHandler(_listenerBinder.MessageVersion, channel.Binder, this, idleManager);
38 references to ChannelHandler
System.ServiceModel.Primitives (38)
System\ServiceModel\Dispatcher\ChannelHandler.cs (23)
28private static AsyncCallback s_onAsyncReplyComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReplyComplete)); 29private static AsyncCallback s_onAsyncReceiveComplete = Fx.ThunkCallback(new AsyncCallback(ChannelHandler.OnAsyncReceiveComplete)); 30private static Action<object> s_onContinueAsyncReceive = new Action<object>(ChannelHandler.OnContinueAsyncReceive); 31private static Action<object> s_onStartSyncMessagePump = new Action<object>(ChannelHandler.OnStartSyncMessagePump); 32private static Action<object> s_onStartAsyncMessagePump = new Action<object>(ChannelHandler.OnStartAsyncMessagePump); 33private static Action<object> s_openAndEnsurePump = new Action<object>(ChannelHandler.OpenAndEnsurePump); 143internal static void Register(ChannelHandler handler) 148internal static void Register(ChannelHandler handler, RequestContext request) 229return _receiver.BeginTryReceive(TimeSpan.MaxValue, ChannelHandler.s_onAsyncReceiveComplete, this); 394ActionItem.Schedule(ChannelHandler.s_onStartSyncMessagePump, this); 401ActionItem.Schedule(ChannelHandler.s_onContinueAsyncReceive, result); 734((ChannelHandler)state).AsyncMessagePump(); 739ChannelHandler handler = state as ChannelHandler; 752((ChannelHandler)result.AsyncState).AsyncMessagePump(result); 759((ChannelHandler)result.AsyncState).AsyncMessagePump(result); 764((ChannelHandler)state).OpenAndEnsurePump(); 929var result = request.BeginReply(reply, ChannelHandler.s_onAsyncReplyComplete, state); 932ChannelHandler.AsyncReplyComplete(result, state); 1090ChannelHandler.AsyncReplyComplete(result, state); 1256public ChannelHandler ChannelHandler; 1258public RequestInfo(ChannelHandler channelHandler) 1299public ChannelHandler ChannelHandler;
System\ServiceModel\Dispatcher\DispatchRuntime.cs (1)
381serviceChannel.Close(ChannelHandler.CloseAfterFaultTimeout);
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (3)
27private ChannelHandler _channelHandler; 63internal ChannelHandler ChannelHandler 288ChannelHandler.Register(ChannelHandler);
System\ServiceModel\Dispatcher\ListenerHandler.cs (2)
228ChannelHandler handler = new ChannelHandler(_listenerBinder.MessageVersion, channel.Binder, this, idleManager); 251ChannelHandler.Register(handler);
System\ServiceModel\Dispatcher\MessageRpc.cs (9)
21internal readonly ChannelHandler channelHandler; 62ServiceChannel channel, ChannelHandler channelHandler, bool cleanThread, 243Channel.Close(ChannelHandler.CloseAfterFaultTimeout); 279ChannelHandler.Register(channelHandler); 505public ChannelHandler ChannelHandler 595private ChannelHandler _handler; 597public MessageRpcInvokeNotification(ServiceModelActivity activity, ChannelHandler handler) 609ChannelHandler.Register(_handler); 618ChannelHandler.Register(_handler, request);