Package | Description |
---|---|
org.cometd.bayeux | |
org.cometd.bayeux.server | |
org.cometd.client | |
org.cometd.common | |
org.cometd.server | |
org.cometd.server.authorizer |
Modifier and Type | Method and Description |
---|---|
ChannelId |
Message.getChannelId()
Convenience method to retrieve the
Message.CHANNEL_FIELD . |
ChannelId |
Channel.getChannelId() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ChannelId.bind(ChannelId target)
If this
ChannelId is a template, and the given target ChannelId
is non-wild and non-template, and the two have the same depth() , then binds
the variable(s) defined in this template with the values of the segments defined by
the target ChannelId . |
boolean |
ChannelId.isAncestorOf(ChannelId id) |
boolean |
ChannelId.isParentOf(ChannelId id) |
boolean |
ChannelId.matches(ChannelId channelId)
Tests whether this
ChannelId matches the given ChannelId . |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message)
Blocking version of
Authorizer.authorize(Operation, ChannelId, ServerSession, ServerMessage, Promise) . |
default void |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message,
Promise<Authorizer.Result> promise)
Callback invoked to authorize the given
operation on the given channel . |
Modifier and Type | Method and Description |
---|---|
protected ChannelId |
BayeuxClient.newChannelId(String channelId) |
Modifier and Type | Method and Description |
---|---|
protected AbstractClientSession.AbstractSessionChannel |
BayeuxClient.newChannel(ChannelId channelId) |
Constructor and Description |
---|
BayeuxClientChannel(ChannelId channelId) |
Modifier and Type | Method and Description |
---|---|
ChannelId |
HashMapMessage.getChannelId() |
ChannelId |
AbstractClientSession.AbstractSessionChannel.getChannelId() |
protected abstract ChannelId |
AbstractClientSession.newChannelId(String channelId) |
Modifier and Type | Method and Description |
---|---|
ClientSessionChannel |
AbstractClientSession.getChannel(ChannelId channelId) |
protected abstract AbstractClientSession.AbstractSessionChannel |
AbstractClientSession.newChannel(ChannelId channelId) |
Constructor and Description |
---|
AbstractSessionChannel(ChannelId id) |
Modifier and Type | Method and Description |
---|---|
ChannelId |
ServerChannelImpl.getChannelId() |
ChannelId |
BayeuxServerImpl.newChannelId(String id) |
protected ChannelId |
LocalSessionImpl.newChannelId(String channelId) |
Modifier and Type | Method and Description |
---|---|
protected AbstractClientSession.AbstractSessionChannel |
LocalSessionImpl.newChannel(ChannelId channelId) |
Constructor and Description |
---|
LocalChannel(ChannelId channelId) |
ServerChannelImpl(BayeuxServerImpl bayeux,
ChannelId id) |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
GrantAuthorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message) |
Copyright © 2008–2024 The CometD Project. All rights reserved.