Revision: 16327
Author: baranowb
Date: Tue Jan 11 09:20:58 2011
Log: Update SIP enabler doc, ident some content.
http://code.google.com/p/mobicents/source/detail?r=16327
Modified:
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Integrating_The_Enabler.xml
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Using_The_Enabler.xml
=======================================
---
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Integrating_The_Enabler.xml
Wed Jan 5 22:39:10 2011
+++
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Integrating_The_Enabler.xml
Tue Jan 11 09:20:58 2011
@@ -69,17 +69,23 @@
public interface SubscriptionClientParent {
- public void subscribeSucceed(int responseCode,
SubscriptionClientChildLocalObject enabler);
-
- public void unsubscribeSucceed(int responseCode,
SubscriptionClientChildLocalObject enabler);
-
- public void onNotify(Notify notify, SubscriptionClientChildLocalObject
enabler);
-
- public void subscribeFailed(int responseCode,
SubscriptionClientChildLocalObject sbbLocalObject);
-
- public void resubscribeFailed(int responseCode,
SubscriptionClientChildLocalObject sbbLocalObject);
-
- public void unsubscribeFailed(int responseCode,
SubscriptionClientChildLocalObject sbbLocalObject);
+ public void subscribeSucceed(int responseCode,
+ SubscriptionClientChildLocalObject enabler);
+
+ public void unsubscribeSucceed(int responseCode,
+ SubscriptionClientChildLocalObject enabler);
+
+ public void onNotify(Notify notify,
+ SubscriptionClientChildLocalObject enabler);
+
+ public void subscribeFailed(int responseCode, S
+ ubscriptionClientChildLocalObject sbbLocalObject);
+
+ public void resubscribeFailed(int responseCode,
+ SubscriptionClientChildLocalObject sbbLocalObject);
+
+ public void unsubscribeFailed(int responseCode,
+ SubscriptionClientChildLocalObject sbbLocalObject);
}
]]>
=======================================
---
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Using_The_Enabler.xml
Wed Jan 5 22:39:10 2011
+++
/trunk/servers/jain-slee/enablers/sip-subscription-client/docs/sources/src/main/resources/en-US/Chapter-Using_The_Enabler.xml
Tue Jan 11 09:20:58 2011
@@ -196,9 +196,11 @@
if (childRelation.isEmpty()) {
try {
// creates new instance
- SubscriptionClientChildLocalObject sbb =
(SubscriptionClientChildLocalObject) childRelation.create();
+ SubscriptionClientChildLocalObject sbb =
+ (SubscriptionClientChildLocalObject)
childRelation.create();
// passes the parent sbb local object to the child
- sbb.setParentSbb((SubscriptionClientParentLocalObject)
sbbContext.getSbbLocalObject());
+ sbb.setParentSbb((SubscriptionClientParentLocalObject)
+ sbbContext.getSbbLocalObject());
return sbb;
} catch (Exception e) {
tracer.severe("Failed to create child sbb", e);
@@ -206,7 +208,8 @@
}
}
else {
- return (SubscriptionClientChildLocalObject)
childRelation.iterator().next();
+ return (SubscriptionClientChildLocalObject)
+ childRelation.iterator().next();
}
}
]]>