org.cometd.bayeux
Interface Bayeux

All Known Subinterfaces:
BayeuxServer

public interface Bayeux

The Bayeux API.

This interface is the common interface for client and server implementations of Bayeux.


Method Summary
 java.util.List<java.lang.String> getAllowedTransports()
           
 java.util.Set<java.lang.String> getKnownTransportNames()
           
 java.lang.Object getOption(java.lang.String qualifiedName)
           
 java.util.Set<java.lang.String> getOptionNames()
           
 Transport getTransport(java.lang.String transport)
          Get a transport
 void setOption(java.lang.String qualifiedName, java.lang.Object value)
           
 

Method Detail

getKnownTransportNames

java.util.Set<java.lang.String> getKnownTransportNames()
Returns:
The set of know transport names

getTransport

Transport getTransport(java.lang.String transport)
Get a transport

Parameters:
transport - transport name or "*" for a Transport representing common options.
Returns:
Mutable Map of transport options or null if unknown transport

getAllowedTransports

java.util.List<java.lang.String> getAllowedTransports()
Returns:
List of transports to be used for sessions in the order they will be tried.

getOption

java.lang.Object getOption(java.lang.String qualifiedName)

setOption

void setOption(java.lang.String qualifiedName,
               java.lang.Object value)

getOptionNames

java.util.Set<java.lang.String> getOptionNames()


Copyright © 2010 Dojo Foundation. All Rights Reserved.