org.atmosphere.samples.pubsub
Class XMPPPubSub

java.lang.Object
  extended by org.atmosphere.samples.pubsub.XMPPPubSub

public class XMPPPubSub
extends Object

Simple Redis PubSub resource that demonstrate many functionality supported by Atmosphere JQuery Plugin, Atmosphere Jersey extension and Atmosphere Redis Plugin

Author:
Jeanfrancois Arcand

Constructor Summary
XMPPPubSub()
           
 
Method Summary
 Broadcastable publish(String message)
           
 SuspendResponse<String> subscribe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPPPubSub

public XMPPPubSub()
Method Detail

subscribe

public SuspendResponse<String> subscribe()

publish

public Broadcastable publish(String message)


Copyright © 2011. All Rights Reserved.