org.atmosphere.samples.pubsub.services
Class ChatService.ChannelPublisher
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChatService.ChannelPublisher
public ChatService.ChannelPublisher(org.atmosphere.cpr.Broadcaster broadcaster,
String channel)
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.