Package org.cometd.server
Class ServerChannelImpl
java.lang.Object
org.cometd.server.ServerChannelImpl
- All Implemented Interfaces:
Channel,ConfigurableServerChannel,ServerChannel,org.eclipse.jetty.util.component.Dumpable
public class ServerChannelImpl extends Object implements ServerChannel, org.eclipse.jetty.util.component.Dumpable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel
ConfigurableServerChannel.Initializer, ConfigurableServerChannel.ServerChannelListenerNested classes/interfaces inherited from interface org.cometd.bayeux.server.ServerChannel
ServerChannel.MessageListener, ServerChannel.SubscriptionListener -
Field Summary
Fields inherited from interface org.cometd.bayeux.Channel
META, META_CONNECT, META_DISCONNECT, META_HANDSHAKE, META_SUBSCRIBE, META_UNSUBSCRIBE, SERVICE -
Constructor Summary
Constructors Modifier Constructor Description protectedServerChannelImpl(BayeuxServerImpl bayeux, ChannelId id) -
Method Summary
-
Constructor Details
-
Method Details
-
subscribe
- Specified by:
subscribein interfaceServerChannel
-
subscribe
-
unsubscribe
- Specified by:
unsubscribein interfaceServerChannel
-
unsubscribe
-
getSubscribers
- Specified by:
getSubscribersin interfaceServerChannel
-
subscribers
-
isBroadcast
public boolean isBroadcast()- Specified by:
isBroadcastin interfaceChannel
-
isDeepWild
public boolean isDeepWild()- Specified by:
isDeepWildin interfaceChannel
-
isLazy
public boolean isLazy()- Specified by:
isLazyin interfaceConfigurableServerChannel
-
isPersistent
public boolean isPersistent()- Specified by:
isPersistentin interfaceConfigurableServerChannel
-
isWild
public boolean isWild() -
setLazy
public void setLazy(boolean lazy)- Specified by:
setLazyin interfaceConfigurableServerChannel
-
getLazyTimeout
public long getLazyTimeout()- Specified by:
getLazyTimeoutin interfaceConfigurableServerChannel
-
setLazyTimeout
public void setLazyTimeout(long lazyTimeout)- Specified by:
setLazyTimeoutin interfaceConfigurableServerChannel
-
setPersistent
public void setPersistent(boolean persistent)- Specified by:
setPersistentin interfaceConfigurableServerChannel
-
addListener
- Specified by:
addListenerin interfaceConfigurableServerChannel
-
removeListener
- Specified by:
removeListenerin interfaceConfigurableServerChannel
-
getListeners
- Specified by:
getListenersin interfaceConfigurableServerChannel
-
listeners
-
getChannelId
- Specified by:
getChannelIdin interfaceChannel
-
getId
-
isMeta
public boolean isMeta() -
isService
public boolean isService() -
publish
- Specified by:
publishin interfaceServerChannel
-
publish
- Specified by:
publishin interfaceServerChannel
-
sweep
protected void sweep() -
remove
public void remove()- Specified by:
removein interfaceServerChannel
-
setAttribute
- Specified by:
setAttributein interfaceChannel
-
getAttribute
- Specified by:
getAttributein interfaceChannel
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceChannel
-
removeAttribute
- Specified by:
removeAttributein interfaceChannel
-
addAuthorizer
- Specified by:
addAuthorizerin interfaceConfigurableServerChannel
-
removeAuthorizer
- Specified by:
removeAuthorizerin interfaceConfigurableServerChannel
-
getAuthorizers
- Specified by:
getAuthorizersin interfaceConfigurableServerChannel
-
authorizers
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable
-
dump
- Specified by:
dumpin interfaceorg.eclipse.jetty.util.component.Dumpable- Throws:
IOException
-
toString
-