[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "retry_deux" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Tue Apr 24 11:31:53 CDT 2012
branch "retry_deux" has been updated
via 307ed002080a69571d11d7e375323a49c50546f0 (commit)
from 3bee12a7e1f3bb1bb230dde1bb68d3d827869675 (commit)
Summary of changes:
.../SIPSessionManager/SIPStateReplicationIf.ice | 23 +++++++++++--------
1 files changed, 13 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 307ed002080a69571d11d7e375323a49c50546f0
Author: Ken Hunt <ken.hunt at digium.com>
Date: Tue Apr 24 11:31:25 2012 -0500
Replication operations made idempotent where appropriate.
diff --git a/slice/AsteriskSCF/Replication/SIPSessionManager/SIPStateReplicationIf.ice b/slice/AsteriskSCF/Replication/SIPSessionManager/SIPStateReplicationIf.ice
index 4c29b77..0bb964c 100644
--- a/slice/AsteriskSCF/Replication/SIPSessionManager/SIPStateReplicationIf.ice
+++ b/slice/AsteriskSCF/Replication/SIPSessionManager/SIPStateReplicationIf.ice
@@ -51,21 +51,24 @@ module V1
interface SIPStateReplicatorListener
{
- void stateRemoved(AsteriskSCF::System::V1::OperationContext operationContext,
+ idempotent void stateRemoved(
+ AsteriskSCF::System::V1::OperationContext operationContext,
Ice::StringSeq itemKeys);
- void stateRemovedForItems(AsteriskSCF::System::V1::OperationContext operationContext,
- SIPStateItemSeq items);
- void stateSet(AsteriskSCF::System::V1::OperationContext operationContext,
- SIPStateItemSeq items);
+ idempotent void stateRemovedForItems(
+ AsteriskSCF::System::V1::OperationContext operationContext,
+ SIPStateItemSeq items);
+ idempotent void stateSet(
+ AsteriskSCF::System::V1::OperationContext operationContext,
+ SIPStateItemSeq items);
};
interface SIPStateReplicator
{
- void addListener(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateReplicatorListener *listener);
- void removeListener(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateReplicatorListener *listener);
- void setState (AsteriskSCF::System::V1::OperationContext operationContext, SIPStateItemSeq items);
- void removeState(AsteriskSCF::System::V1::OperationContext operationContext, Ice::StringSeq items);
- void removeStateForItems(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateItemSeq items);
+ idempotent void addListener(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateReplicatorListener *listener);
+ idempotent void removeListener(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateReplicatorListener *listener);
+ idempotent void setState (AsteriskSCF::System::V1::OperationContext operationContext, SIPStateItemSeq items);
+ idempotent void removeState(AsteriskSCF::System::V1::OperationContext operationContext, Ice::StringSeq items);
+ idempotent void removeStateForItems(AsteriskSCF::System::V1::OperationContext operationContext, SIPStateItemSeq items);
idempotent SIPStateItemSeq getState(Ice::StringSeq iteKeys);
idempotent SIPStateItemSeq getAllState();
};
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list