2 // System.Runtime.Remoting.StackBuilderSink.cs
4 // Author: Lluis Sanchez Gual (lsg@ctv.es)
6 // (C) 2002, Lluis Sanchez Gual
11 namespace System.Runtime.Remoting.Messaging
13 // Sink that calls the real method of the object
15 public class StackBuilderSink: IMessageSink
17 public IMessage SyncProcessMessage (IMessage msg)
19 // Makes the real call to the object
21 MarshalByRefObject obj = RemotingServices.GetServerForUri (((IMethodMessage)msg).Uri);
22 return RemotingServices.InternalExecuteMessage (obj, (IMethodCallMessage)msg);
26 public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
28 throw new NotImplementedException ();
31 public IMessageSink NextSink