StackBuilderSink.cs 783 B

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