public interface Bayeux
The Bayeux
interface is the common API for both client-side and
server-side configuration and usage of the Bayeux object.
The Bayeux
object handles configuration options and a set of
transports that is negotiated with the server.
Transport
Modifier and Type | Interface and Description |
---|---|
static interface |
Bayeux.BayeuxListener
The common base interface for Bayeux listeners.
|
static class |
Bayeux.Validator
Validates Bayeux protocol elements such as channel ids and message ids.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllowedTransports() |
Set<String> |
getKnownTransportNames() |
Object |
getOption(String qualifiedName) |
Set<String> |
getOptionNames() |
Transport |
getTransport(String transport) |
void |
setOption(String qualifiedName,
Object value) |
Set<String> getKnownTransportNames()
getAllowedTransports()
Transport getTransport(String transport)
transport
- the transport nameList<String> getAllowedTransports()
getKnownTransportNames()
Object getOption(String qualifiedName)
qualifiedName
- the configuration option namequalifiedName
setOption(String, Object)
,
getOptionNames()
void setOption(String qualifiedName, Object value)
qualifiedName
- the configuration option namevalue
- the configuration option valuegetOption(String)
Set<String> getOptionNames()
getOption(String)
Copyright © 2008–2024 The CometD Project. All rights reserved.