github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

rummble / jfexmpp

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 6
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Java Fireeagle XMPP consumer — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

update README 
Clive Cox (author)
Sun Feb 22 02:36:42 -0800 2009
commit  dd564ea3613bd2232fcc0230ba5c08fb4a69843d
tree    b68281aaff4eb8bae0bda8153885280b5568d2a6
parent  dc4d012642e04332305115114d34d3a4608826bb
jfexmpp /
name age
history
message
file LICENSE.txt Sat Feb 21 02:58:16 -0800 2009 initial commit [Clive Cox]
file README.txt Sun Feb 22 02:36:42 -0800 2009 update README [Clive Cox]
directory bin/ Sat Feb 21 02:58:16 -0800 2009 initial commit [Clive Cox]
file build.xml Loading commit data...
file createjar.xml
file fexmpp.jar Sun Feb 22 02:21:29 -0800 2009 latest jar build [Clive Cox]
directory lib/
directory src/ Sat Feb 21 03:04:54 -0800 2009 clean some comments [Clive Cox]
README.txt
A test consumer TestConsumer is provided with the library.

It has four commands, subscribe, unsubscribe, subscriptions and wait. Wait, just waits for location events 
from fireeagle and prints them out.

Examples:

After setting the classpath to the jars in /lib and fexmpp.jar:

java com.rummble.fireeagle.TestConsumer -cmd subscribe -u <xmpp-user> -s <xmpp-server> -p <password-for-user> 
  -ck <consumer-key> -cs <consumer-secret> -t <token> -ts <token-secret>

java com.rummble.fireeagle.TestConsumer -cmd unsubscribe -u <xmpp-user> -s <xmpp-server> -p <password-for-user> 
  -ck <consumer-key> -cs <consumer-secret> -t <token> -ts <token-secret>
  
java com.rummble.fireeagle.TestConsumer -cmd subscriptions -u <xmpp-user> -s <xmpp-server> -p <password-for-user> 
  -ck <consumer-key> -cs <consumer-secret> -t <general-token> -ts <general-token-secret>
  
java com.rummble.fireeagle.TestConsumer -cmd wait -u <xmpp-user> -s <xmpp-server> -p <password-for-user> 

----

The TestConsumer class has a few extra options that may be useful.

 -debug  This switches on the Smack debug. You must have the smackx-debug.jar in the classpath. If you don't use this 
 then you can leave the smackx-debug.jar out of the classpath. See IgniteRealtimes documentation about this.

 -fs <Fireeagle server>  The host name of the Fireeagle XMPP server. Assumed to be fireeagle.com if not specified.

 -n <node prefix> The node prefix used in the calls. Assumed to be 
/api/0.1/user/ if not specified.

----

Dependencies:

Uses Smack and Whack libraries from IgniteRealtime. http://www.igniterealtime.org/

Uses OAuth library  mainly for percent encoding. http://code.google.com/p/oauth/

Uses dom4j to create the custom XML. http://www.dom4j.org/

Uses commons-codec for base64 encoding. http://commons.apache.org/codec/

Uses log4j for logging. http://logging.apache.org/log4j/1.2/index.html

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server