- All Known Subinterfaces:
BayeuxServer
- All Known Implementing Classes:
BayeuxClient
,BayeuxServerImpl
,OortComet
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The common base interface for Bayeux listeners.static class
Validates Bayeux protocol elements such as channel ids and message ids. -
Method Summary
-
Method Details
-
getKnownTransportNames
- Returns:
- the set of known transport names of this Bayeux object.
- See Also:
-
getTransport
- Parameters:
transport
- the transport name- Returns:
- the transport with the given name or null if no such transport exist
-
getAllowedTransports
- Returns:
- the ordered list of transport names that will be used in the negotiation of transports with the other peer.
- See Also:
-
getOption
- Parameters:
qualifiedName
- the configuration option name- Returns:
- the configuration option with the given
qualifiedName
- See Also:
-
setOption
- Parameters:
qualifiedName
- the configuration option namevalue
- the configuration option value- See Also:
-
getOptionNames
- Returns:
- the set of configuration options
- See Also:
-