Authorizer
that grants or denies operations on this channel.Authorizer.authorize(Operation, ChannelId, ServerSession, ServerMessage, Promise)
.operation
on the given channel
.Bayeux
interface is the common API for both client-side and
server-side configuration and usage of the Bayeux object.ServerChannel
events.BayeuxServer
.BayeuxServer.Extension
insteadServerSession
events.ServerChannel
subscription events.ChannelId
is a template, and the given target
ChannelId
is non-wild and non-template, and the two have the same ChannelId.depth()
, then binds
the variable(s) defined in this template with the values of the segments defined by
the target ChannelId
.SecurityPolicy.canHandshake(BayeuxServer, ServerSession, ServerMessage, Promise)
.ServerChannel
has been added to a BayeuxServer
object.channel id
with methods to test properties
and compare with other ChannelId
s.ChannelId
with the given idServerChannel
has been removed from a BayeuxServer
object.ClientSession.Extension
insteadClientSessionChannel
.ClientSessionChannel
.ConfigurableServerChannel
offers an API that can be used to
configure ServerChannel
s at creation time.ServerChannel
listeners.ConfigurableServerChannel.ServerChannelListener
s as "weak".ServerChannel
and initializes it atomically if the
channel does not exist, or returns it if it already exists.ClientSession.disconnect(MessageListener)
insteadSession.startBatch()
.Message.ADVICE_FIELD
Message.ADVICE_FIELD
and create it if it does not existMessage.CHANNEL_FIELD
.Message.CHANNEL_FIELD
.Message.CLIENT_ID_FIELD
Message.DATA_FIELD
Message.DATA_FIELD
and create it if it does not existMessage.EXT_FIELD
Message.EXT_FIELD
and create it if it does not existMessage.ID_FIELD
ChannelId
: the part
of the channel id from the beginning until the first occurrence
of a parameter or a wild character.handshake(null)
.handshake(template, null)
.ClientSession.handshake(Map, MessageListener)
insteadmeta channel
nor a service channel
./foo/**
id
starts with "/meta/"
.ChannelId
is a meta ChannelId
if it starts with "/meta/"
.id
starts with "/service/"
.ChannelId
is a service ChannelId
if it starts with "/service/"
.Message.SUCCESSFUL_FIELD
/foo/*
or if it is Channel.isDeepWild()
.LocalSession
is a ClientSession
within the server.AtomicMarkableReference
.ChannelId
matches the given ChannelId
.Message
LocalSession
.channel
./meta/connect
message has been resumed./meta/connect
message has been suspended.data
onto this channel.data
onto this channel, notifying the given
callback
of the publish result, whether successful or unsuccessful.message
onto this channel, notifying the
given callback
of the publish result.ServerChannel.publish(Session, Object, Promise)
insteadServerSession
s subscribed to
this channel.BayeuxServer.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.ServerSession.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.BayeuxServer.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for meta messages.ServerSession.Extension.incoming(ServerSession, ServerMessage.Mutable, Promise)
for meta messages.ClientSession
.target
,
and with the given data
as payload.Authorizer
.listener
from this channel.session
from this BayeuxServer.SecurityPolicy
defines the broad authorization constraints that must be
enforced by a BayeuxServer
.ServerSession.Extension.outgoing(ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.BayeuxServer.Extension.outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise)
for non-meta messages.BayeuxServer.Extension.outgoing(ServerSession, ServerSession, ServerMessage.Mutable, Promise)
for meta messages.ServerSession.Extension.outgoing(ServerSession, ServerMessage.Mutable, Promise)
for meta messages.ServerMessage
ServerSession
./meta/connect
message is suspended by the server, and when it is subsequently resumed.ServerSession
listeners.ServerSession
has been added to a BayeuxServer
object.ServerSession
has been removed from a BayeuxServer
object.Session.endBatch()
.subscribe(listener, null)
.listener
to receive messages sent to this channel.ServerSession
subscribes to a ServerChannel
.ServerSession
subscribes to the given ServerChannel
.unsubscribe(listener, null)
.listener
from receiving messages sent to this channel.ServerSession
unsubscribes from a ServerChannel
.ServerSession
unsubscribes from the given ServerChannel
.Copyright © 2008–2017 The CometD Project. All rights reserved.