org.mortbay.cometd
Class Bayeux
java.lang.Object
org.mortbay.cometd.Bayeux
public class Bayeux
- extends Object
- Author:
- gregw
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_CONNECT
public static final String META_CONNECT
- See Also:
- Constant Field Values
META_DISCONNECT
public static final String META_DISCONNECT
- See Also:
- Constant Field Values
META_HANDSHAKE
public static final String META_HANDSHAKE
- See Also:
- Constant Field Values
META_PING
public static final String META_PING
- See Also:
- Constant Field Values
META_RECONNECT
public static final String META_RECONNECT
- See Also:
- Constant Field Values
META_STATUS
public static final String META_STATUS
- See Also:
- Constant Field Values
META_SUBSCRIBE
public static final String META_SUBSCRIBE
- See Also:
- Constant Field Values
META_UNSUBSCRIBE
public static final String META_UNSUBSCRIBE
- See Also:
- Constant Field Values
MONITOR_CHANNEL_EVENT
public static final String MONITOR_CHANNEL_EVENT
- See Also:
- Constant Field Values
MONITOR_CLIENT_EVENT
public static final String MONITOR_CLIENT_EVENT
- See Also:
- Constant Field Values
CLIENT_ATTR
public static final String CLIENT_ATTR
- See Also:
- Constant Field Values
DATA_ATTR
public static final String DATA_ATTR
- See Also:
- Constant Field Values
CHANNEL_ATTR
public static final String CHANNEL_ATTR
- See Also:
- Constant Field Values
TIMESTAMP_ATTR
public static final String TIMESTAMP_ATTR
- See Also:
- Constant Field Values
TRANSPORT_ATTR
public static final String TRANSPORT_ATTR
- See Also:
- Constant Field Values
ADVICE_ATTR
public static final String ADVICE_ATTR
- See Also:
- Constant Field Values
getChannel
public Channel getChannel(String id)
- Parameters:
id
-
- Returns:
addFilter
public void addFilter(String channels,
DataFilter filter)
- Parameters:
channels
- A ChannelPattern
filter
- The filter instance to apply to new channels matching the pattern
newChannel
public Channel newChannel(String id)
- Parameters:
id
-
- Returns:
getChannelIDs
public Set getChannelIDs()
- Returns:
getClient
public Client getClient(String client_id)
- Parameters:
client_id
-
- Returns:
newClient
public Client newClient()
- Returns:
newClient
public Client newClient(String idPrefix)
- Parameters:
idPrefix
- Prefix to random client ID
- Returns:
getClientIDs
public Set getClientIDs()
- Returns:
getSecurityPolicy
public SecurityPolicy getSecurityPolicy()
setSecurityPolicy
public void setSecurityPolicy(SecurityPolicy securityPolicy)
Copyright © 2007 Mort Bay Consulting. All Rights Reserved.