[asterisk-scf-commits] asterisk-scf/release/routing.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Jul 14 17:33:46 CDT 2011
branch "master" has been updated
via 17c3811aa8ef6339d6712eaf37f1066ae8a40605 (commit)
from 2650fb29af5f61860f5e87cb7d1686d752a3053d (commit)
Summary of changes:
test/MockBridge.cpp | 13 +++++++++++++
test/MockBridge.h | 4 ++++
2 files changed, 17 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 17c3811aa8ef6339d6712eaf37f1066ae8a40605
Author: Brent Eagles <beagles at digium.com>
Date: Thu Jul 14 20:03:23 2011 -0230
Support for slice changes for bridge cookies
diff --git a/test/MockBridge.cpp b/test/MockBridge.cpp
index d50090b..e0fc4f0 100644
--- a/test/MockBridge.cpp
+++ b/test/MockBridge.cpp
@@ -170,6 +170,19 @@ void MockBridge::replaceSession_async(const AsteriskSCF::SessionCommunications::
}
}
+void MockBridge::setCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& , const Ice::Current&)
+{
+}
+
+void MockBridge::removeCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& , const Ice::Current&)
+{
+}
+
+AsteriskSCF::SessionCommunications::V1::BridgeCookies MockBridge::getCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& , const Ice::Current&)
+{
+ return AsteriskSCF::SessionCommunications::V1::BridgeCookies();
+}
+
void MockBridge::connected(const AsteriskSCF::SessionCommunications::V1::SessionPrx&)
{
SharedTestData::instance.mBridgeConnected = true;
diff --git a/test/MockBridge.h b/test/MockBridge.h
index 92b4d46..7204363 100644
--- a/test/MockBridge.h
+++ b/test/MockBridge.h
@@ -51,6 +51,10 @@ public:
const AsteriskSCF::SessionCommunications::V1::SessionSeq& newSessions,
const Ice::Current&);
+ void setCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& cookies, const Ice::Current&);
+ void removeCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& cookies, const Ice::Current&);
+ AsteriskSCF::SessionCommunications::V1::BridgeCookies getCookies(const AsteriskSCF::SessionCommunications::V1::BridgeCookies& cookies, const Ice::Current&);
+
// Implementation
void connected(const AsteriskSCF::SessionCommunications::V1::SessionPrx& session);
void removeSession(const AsteriskSCF::SessionCommunications::V1::SessionPrx& session);
-----------------------------------------------------------------------
--
asterisk-scf/release/routing.git
More information about the asterisk-scf-commits
mailing list