diff options
Diffstat (limited to 'mono/Handler.cs')
-rw-r--r-- | mono/Handler.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mono/Handler.cs b/mono/Handler.cs index 91569e94..9696a4d3 100644 --- a/mono/Handler.cs +++ b/mono/Handler.cs @@ -177,11 +177,15 @@ namespace DBus } MethodInfo method = interfaceProxy.GetMethod(methodCall.Key); + + Message.Push (methodCall); // Now call the method. FIXME: Error handling object [] args = methodCall.Arguments.GetParameters(method); object retVal = method.Invoke(this.handledObject, args); + Message.Pop (); + // Create the reply and send it MethodReturn methodReturn = new MethodReturn(methodCall); methodReturn.Arguments.AppendResults(method, retVal, args); |