org.atmosphere.samples.pubsub.dto
Class BaseCommand
java.lang.Object
org.atmosphere.samples.pubsub.dto.BaseCommand
- All Implemented Interfaces:
- Command
- Direct Known Subclasses:
- EmptyCommand, SubscribeCommand, UnsubscribeCommand
public abstract class BaseCommand
- extends Object
- implements Command
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.atmosphere.samples.pubsub.dto.Command |
execute |
resource
protected org.atmosphere.cpr.AtmosphereResource resource
channel
protected String channel
BaseCommand
public BaseCommand()
setResource
public void setResource(org.atmosphere.cpr.AtmosphereResource resource)
- Specified by:
setResource in interface Command
getChannel
public String getChannel()
- Specified by:
getChannel in interface Command
setChannel
public void setChannel(String channel)
Copyright © 2014. All Rights Reserved.