summaryrefslogtreecommitdiff
path: root/csharp/test/Ice/background/Server.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-07-22 17:57:42 +0200
committerJose <jose@zeroc.com>2016-07-22 17:57:42 +0200
commitb55c347b5178f62db2a175b55900217217a46dbc (patch)
tree914e89427afe92828aac9d01c0a2d7b4046e751a /csharp/test/Ice/background/Server.cs
parentMerge remote-tracking branch 'origin/3.6' (diff)
downloadice-b55c347b5178f62db2a175b55900217217a46dbc.tar.bz2
ice-b55c347b5178f62db2a175b55900217217a46dbc.tar.xz
ice-b55c347b5178f62db2a175b55900217217a46dbc.zip
CSharp AMD mapping update
Diffstat (limited to 'csharp/test/Ice/background/Server.cs')
-rw-r--r--csharp/test/Ice/background/Server.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/csharp/test/Ice/background/Server.cs b/csharp/test/Ice/background/Server.cs
index 26cccb4eae9..fa302ba146d 100644
--- a/csharp/test/Ice/background/Server.cs
+++ b/csharp/test/Ice/background/Server.cs
@@ -21,19 +21,21 @@ public class Server
{
internal class LocatorI : Ice.LocatorDisp_
{
- public override void findAdapterById_async(Ice.AMD_Locator_findAdapterById response, string adapter,
- Ice.Current current)
+ public override void
+ findAdapterByIdAsync(string adapter, Action<Ice.ObjectPrx> response, Action<Exception> exception,
+ Ice.Current current)
{
_controller.checkCallPause(current);
Ice.Communicator communicator = current.adapter.getCommunicator();
- response.ice_response(current.adapter.createDirectProxy(communicator.stringToIdentity("dummy")));
+ response(current.adapter.createDirectProxy(communicator.stringToIdentity("dummy")));
}
- public override void findObjectById_async(Ice.AMD_Locator_findObjectById response, Ice.Identity id,
- Ice.Current current)
+ public override void
+ findObjectByIdAsync(Ice.Identity id, Action<Ice.ObjectPrx> response, Action<Exception> exception,
+ Ice.Current current)
{
_controller.checkCallPause(current);
- response.ice_response(current.adapter.createDirectProxy(id));
+ response(current.adapter.createDirectProxy(id));
}
public override Ice.LocatorRegistryPrx getRegistry(Ice.Current current)