org.cometd.server
Class AbstractBayeux.ServiceChannel
java.lang.Object
org.cometd.server.ChannelImpl
org.cometd.server.AbstractBayeux.ServiceChannel
- All Implemented Interfaces:
- Channel, ConfigurableChannel
- Enclosing class:
- AbstractBayeux
protected class AbstractBayeux.ServiceChannel
- extends ChannelImpl
| Methods inherited from class org.cometd.server.ChannelImpl |
addDataFilter, addListener, deliver, doDelivery, doRemove, getChannelCount, getChannelId, getChannels, getChild, getDataFilters, getId, getSubscriberCount, getSubscribers, isLazy, isPersistent, publish, publishLazy, remove, removeDataFilter, removeListener, setLazy, setPersistent, toString, unsubscribe |
addChild
public ChannelImpl addChild(ChannelImpl channel)
- Description copied from class:
ChannelImpl
- Adds a channel
- Overrides:
addChild in class ChannelImpl
- Parameters:
channel - the child channel to add
- Returns:
- The added channel, or the existing channel if another thread
already added the channel
subscribe
public void subscribe(Client client)
- Specified by:
subscribe in interface Channel- Overrides:
subscribe in class ChannelImpl
- Parameters:
client - the client to subscribe to this channel
Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.