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