Fix build breakers.
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Messaging / StackBuilderSink.cs
1 //
2 // System.Runtime.Remoting.StackBuilderSink.cs
3 //
4 // Author: Lluis Sanchez Gual (lsg@ctv.es)
5 //
6 // (C) 2002, Lluis Sanchez Gual
7 //
8
9 using System;
10
11 namespace System.Runtime.Remoting.Messaging
12 {
13         // Sink that calls the real method of the object
14
15         public class StackBuilderSink: IMessageSink
16         {
17                 public IMessage SyncProcessMessage (IMessage msg)
18                 {
19                         // Makes the real call to the object
20
21                         MarshalByRefObject obj = RemotingServices.GetServerForUri (((IMethodMessage)msg).Uri);
22                         //return RemotingServices.InternalExecuteMessage (obj, (IMethodCallMessage)msg);
23                         return null;
24                 }
25
26                 [MonoTODO]
27                 public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
28                 {
29                         throw new NotImplementedException ();
30                 }
31
32                 public IMessageSink NextSink 
33                 { 
34                         get { return null; }
35                 }
36         }
37 }