From a560407d13e45e5fc7e0bfba667bbbe49dd692c5 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 4 Jul 2007 14:14:09 +0000 Subject: [PATCH] added 'introspection' _list method git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@379 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/registrar_client/SIPRegistrarClient.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/registrar_client/SIPRegistrarClient.cpp b/apps/registrar_client/SIPRegistrarClient.cpp index d590b273..309cfb8c 100644 --- a/apps/registrar_client/SIPRegistrarClient.cpp +++ b/apps/registrar_client/SIPRegistrarClient.cpp @@ -579,7 +579,11 @@ void SIPRegistrarClient::invoke(const string& method, const AmArgArray& args, } else { ret.push(AmArg((int)0)); } - } else + } else if(method == "_list"){ + ret.push(AmArg("createRegistration")); + ret.push(AmArg("removeRegistration")); + ret.push(AmArg("getRegistrationState")); + } else throw AmDynInvoke::NotImplemented(method); }