tl;dr - See 
here<https://thali.codeplex.com/SourceControl/latest#Production/Utilities/UniversalUtilities/src/main/java/com/msopentech/thali/CouchDBListener/ThaliListener.java>
 for inspiration.

Long Winded Version -

https://thali.codeplex.com is my day job and it's all about building a P2P 
infrastructure on top of Couchbase-Lite. 
Here<https://thali.codeplex.com/SourceControl/latest#Production/Utilities/UniversalUtilities/src/main/java/com/msopentech/thali/CouchDBListener/ThaliListener.java>
 is the file that implements our core listener.

So that's the good news.

The bad news is that we aren't using standard CouchBase Lite. We need a bunch 
of extra features that aren't in Couchbase Lite to make our P2P environment 
work correctly. So if you look 
here<https://github.com/yaronyg?tab=repositories> you will see we've forked all 
of CouchBase's depots and built our own custom versions. We've filed all our 
features/bug fixes with CouchBase but they are really busy getting out V1 and 
haven't had time to deal with them.

So unfortunately the code in the previous link is using a bunch of features we 
introduced that aren't in mainline CouchBase lite. So that link may not be the 
best example if you are just looking for generic CouchBase. Sorry. :(

If you are interested in what features we added and why see our architecture 
overview available 
here<http://thali.cloudapp.net/mediawiki/index.php?title=Thali_and_Couch>.

I realize this is a ton of data to drop on your head and certainly not a 
quickly friendly - here you go. Hopefully your P2P needs are more modest than 
ours and you won't need all this. But if you do, at least you know it's there 
and can look at it, or better yet, use it! It's all licensed under Apache 2.0.

I'd love to know what you're up to with P2P and CouchBase-Lite. Would you care 
to share more about what you are up to?

    Thanks,

            Yaron

________________________________
From: [email protected] <[email protected]> on 
behalf of Shantanu <[email protected]>
Sent: Saturday, April 05, 2014 2:14 AM
To: [email protected]
Subject: JAR containing cblite-listener

Hi,

Recently, I have developed an Android App in Eclipse using couchbase-lite. 
Client-Server replication is working fine.
But I need a peer-to-peer functionality in this app.

can somebody point me to right direction. I require the JAR that implements 
CBLListener method.

Thanks in Advance



--
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/dced6813-aa57-4e67-9bb7-ca79b063bfe9%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/dced6813-aa57-4e67-9bb7-ca79b063bfe9%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/759234afc19345bea842942dcda684d8%40SN2PR03MB016.namprd03.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to