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 MarshalByRefObject _target;
19 public StackBuilderSink (MarshalByRefObject obj)
24 public IMessage SyncProcessMessage (IMessage msg)
26 // Makes the real call to the object
27 return RemotingServices.InternalExecuteMessage (_target, (IMethodCallMessage)msg);
31 public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
33 throw new NotImplementedException ();
36 public IMessageSink NextSink