+2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * ChannelServices.cs: Call context management moved to RemotingServices.
+
2003-08-25 Lluis Sanchez Gual <lluis@ximian.com>
* ClientChannelSinkStack.cs: Implemented DispatchException.
* *.cs: Added all the interfaces in this namespace.
* ServerProcessing.cs: Added.
-
if (identity == null) return new ReturnMessage (new RemotingException ("No receiver for uri " + call.Uri), (IMethodCallMessage) msg);
RemotingServices.SetMessageTargetIdentity (msg, identity);
-
- if (call.LogicalCallContext != null)
- CallContext.SetCurrentCallContext (call.LogicalCallContext);
-
- try
- {
- IMessage response = _crossContextSink.SyncProcessMessage (msg);
- response.Properties ["__CallContext"] = CallContext.CreateLogicalCallContext ();
- return response;
- }
- finally
- {
- CallContext.ResetCurrentCallContext ();
- }
+ return _crossContextSink.SyncProcessMessage (msg);
}
public static void UnregisterChannel (IChannel chnl)