org.atmosphere.samples.pubsub.services
Class ChatService.ChannelPublisher

java.lang.Object
  extended by org.atmosphere.samples.pubsub.services.ChatService.ChannelPublisher
All Implemented Interfaces:
Runnable, org.atmosphere.cpr.BroadcasterLifeCyclePolicyListener
Enclosing class:
ChatService

public class ChatService.ChannelPublisher
extends Object
implements Runnable, org.atmosphere.cpr.BroadcasterLifeCyclePolicyListener


Constructor Summary
ChatService.ChannelPublisher(org.atmosphere.cpr.Broadcaster broadcaster, String channel)
           
 
Method Summary
 void onDestroy()
           
 void onEmpty()
           
 void onIdle()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatService.ChannelPublisher

public ChatService.ChannelPublisher(org.atmosphere.cpr.Broadcaster broadcaster,
                                    String channel)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

onEmpty

public void onEmpty()
Specified by:
onEmpty in interface org.atmosphere.cpr.BroadcasterLifeCyclePolicyListener

onIdle

public void onIdle()
Specified by:
onIdle in interface org.atmosphere.cpr.BroadcasterLifeCyclePolicyListener

onDestroy

public void onDestroy()
Specified by:
onDestroy in interface org.atmosphere.cpr.BroadcasterLifeCyclePolicyListener


Copyright © 2014. All Rights Reserved.