public class EXoContinuationBayeux
extends org.cometd.server.BayeuxServerImpl
implements org.picocontainer.Disposable
| Modifier and Type | Class and Description |
|---|---|
static class |
EXoContinuationBayeux.EXoSecurityPolicy |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.cometd.bayeux.server.BayeuxServer.BayeuxServerListener, org.cometd.bayeux.server.BayeuxServer.ChannelListener, org.cometd.bayeux.server.BayeuxServer.Extension, org.cometd.bayeux.server.BayeuxServer.SessionListener, org.cometd.bayeux.server.BayeuxServer.SubscriptionListenerALLOWED_TRANSPORTS_OPTION, BROADCAST_TO_PUBLISHER_OPTION, SWEEP_PERIOD_OPTION, TRANSPORTS_OPTION, VALIDATE_MESSAGE_FIELDS_OPTION| Constructor and Description |
|---|
EXoContinuationBayeux(org.exoplatform.services.jcr.RepositoryService repoService)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
EXoContinuationClient |
getClientByEXoId(String eXoID)
Deprecated.
|
String |
getCometdContextName() |
javax.servlet.ServletConfig |
getServletConfig() |
long |
getTimeout() |
String |
getUserToken(String eXoId) |
boolean |
isPresent(String eXoID) |
boolean |
isSubscribed(String eXoID,
String clientID) |
org.cometd.bayeux.server.ServerSession |
newRemoteClient() |
void |
sendBroadcastMessage(String channel,
Object data,
String msgId) |
void |
sendMessage(String eXoID,
String channel,
Object data,
String id)
Send data to a individual client.
|
void |
setCloudIDSeparator(String cloudIDSeparator) |
void |
setCometdContextName(String context) |
void |
setOort(org.cometd.oort.Oort oort) |
void |
setServletConfig(javax.servlet.ServletConfig config) |
void |
setSeti(org.cometd.oort.Seti seti) |
void |
setTimeout(long timeout)
Deprecated.
|
addExtension, addListener, addServerSession, addTransport, createChannelIfAbsent, createReply, doPublish, doStart, doStop, dump, error, extendRecv, extendReply, extendSend, findHttpTransport, freeze, getAllowedTransports, getChannel, getChannels, getContext, getCurrentTransport, getExtensions, getKnownTransportNames, getListeners, getOption, getOption, getOption, getOptionNames, getOptions, getSecurityPolicy, getSession, getSessions, getTransport, getTransports, handle, initializeJSONContext, initializeMetaChannels, initializeServerTransports, isBroadcastToPublisher, newChannelId, newLocalSession, newMessage, newMessage, newServerSession, randomLong, removeExtension, removeListener, removeServerChannel, removeServerSession, schedule, setAllowedTransports, setAllowedTransports, setCurrentTransport, setOption, setOptions, setSecurityPolicy, setTransports, setTransports, sweep, unknownSession, validateMessagepublic EXoContinuationBayeux(org.exoplatform.services.jcr.RepositoryService repoService)
public org.cometd.bayeux.server.ServerSession newRemoteClient()
@Deprecated public void setTimeout(long timeout)
public long getTimeout()
public String getCometdContextName()
public void setCometdContextName(String context)
public String getUserToken(String eXoId)
eXoId - the client id.@Deprecated public EXoContinuationClient getClientByEXoId(String eXoID)
eXoID - the id of client.public boolean isPresent(String eXoID)
public void sendBroadcastMessage(String channel, Object data, String msgId)
channel - the id of channel.data - the messagemsgId - the message idpublic void sendMessage(String eXoID, String channel, Object data, String id)
Typcially this method is only required if a service method sends response(s) to channels other than the subscribed channel. If the response is to be sent to the subscribed channel, then the data can simply be returned from the subscription method.
eXoID - the id of target clientchannel - The id of channel the message is fordata - The data of the messageid - The id of the message (or null for a random id).public void setSeti(org.cometd.oort.Seti seti)
public void setOort(org.cometd.oort.Oort oort)
public void setCloudIDSeparator(String cloudIDSeparator)
public javax.servlet.ServletConfig getServletConfig()
public void setServletConfig(javax.servlet.ServletConfig config)
public void dispose()
dispose in interface org.picocontainer.DisposableCopyright © 2003–2019 eXo Platform SAS. All rights reserved.