[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Sun Sep 12 20:41:07 CDT 2010


branch "master" has been updated
       via  d7a167f1547961060aa1cf0daf287429c43d6126 (commit)
      from  7a61b2e8479f8e98198a7c431f34a1ba3d973942 (commit)

Summary of changes:
 src/SipStateReplicator.cpp |    2 +-
 src/SipStateReplicator.h   |   29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletions(-)
 create mode 100644 src/SipStateReplicator.h


- Log -----------------------------------------------------------------
commit d7a167f1547961060aa1cf0daf287429c43d6126
Author: Mark Michelson <mmichelson at digium.com>
Date:   Sun Sep 12 20:39:18 2010 -0500

    Start defining the SipStateReplicator servant.

diff --git a/src/SipStateReplicator.cpp b/src/SipStateReplicator.cpp
index 79f828d..dfaa097 100644
--- a/src/SipStateReplicator.cpp
+++ b/src/SipStateReplicator.cpp
@@ -12,7 +12,7 @@
 #include "ServiceLocatorIf.h"
 #include "ComponentServiceIf.h"
 #include "SipIf.h"
-#include "SipStateReplicationIf.h"
+#include "SipStateReplicator.h"
 
 using namespace std;
 using namespace AsteriskSCF::Core;
diff --git a/src/SipStateReplicator.h b/src/SipStateReplicator.h
new file mode 100644
index 0000000..3ab9e7d
--- /dev/null
+++ b/src/SipStateReplicator.h
@@ -0,0 +1,29 @@
+/*
+ * Asterisk Scalable Communications Framework
+ *
+ * Copyright (C) 2010 -- Digium, Inc.
+ *
+ * All rights reserved.
+ */
+
+#include "SipStateReplicationIf.h"
+
+namespace AsteriskSCF
+{
+namespace SipChannelService
+{
+
+using namespace AsteriskSCF::SIP::V1;
+class SipStateReplicatorI : public SipStateReplicator
+{
+   SipStateReplicatorI() {};
+   void addListener(SipStateReplicatorListenerPrx listener, Ice::Current&);
+   void removeListener(SipStateReplicatorListenerPrx listener, Ice::Current &);
+   void setState(SipStateItemSeq items, Ice::Current &);
+   void removeState(SipStateItemSeq items, Ice::Current &);
+   SipStateItemSeq getState(Ice::StringSeq itemKeys, Ice::Current &);
+   SipStateItemSeq getAllStates(Ice::Current &);
+};
+
+};
+};

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list