| 123456789101112131415161718192021222324252627282930313233343536 |
- //
- // System.Runtime.Remoting.StackBuilderSink.cs
- //
- // Author: Lluis Sanchez Gual ([email protected])
- //
- // (C) 2002, Lluis Sanchez Gual
- //
- using System;
- namespace System.Runtime.Remoting.Messaging
- {
- // Sink that calls the real method of the object
- public class StackBuilderSink: IMessageSink
- {
- public IMessage SyncProcessMessage (IMessage msg)
- {
- // Makes the real call to the object
- MarshalByRefObject obj = RemotingServices.GetServerForUri (((IMethodMessage)msg).Uri);
- return RemotingServices.InternalExecuteMessage (obj, (IMethodCallMessage)msg);
- }
- [MonoTODO]
- public IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
- {
- throw new NotImplementedException ();
- }
- public IMessageSink NextSink
- {
- get { return null; }
- }
- }
- }
|