BayeuxServer
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 | Description |
---|---|---|
static interface |
Bayeux.BayeuxListener |
The common base interface for Bayeux listeners.
|
Modifier and Type | Method | 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()
Bayeux
object.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–2017 The CometD Project. All rights reserved.