## Uses of Interface
dojox.cometd.Client

Packages that use Client
dojox.cometd
dojox.cometd.demo
org.mortbay.cometd
org.mortbay.cometd.client
org.mortbay.cometd.continuation
org.mortbay.cometd.filter

Uses of Client in dojox.cometd

Methods in dojox.cometd that return Client
`Client` `Bayeux.getClient(String clientId)`
`Client` `Bayeux.newClient(String idprefix)`
`Client` `Bayeux.newClient(String idprefix, Listener listener)` Deprecated. use `Bayeux.newClient(String)`
`Client` `Bayeux.removeClient(String clientId)`

Methods in dojox.cometd that return types with arguments of type Client
`Collection<Client>` `Bayeux.getClients()`
`Collection<Client>` `Channel.getSubscribers()`

Methods in dojox.cometd with parameters of type Client
`boolean` `SecurityPolicy.canCreate(Client client, String channel, Message message)`
`boolean` `SecurityPolicy.canPublish(Client client, String channel, Message messsage)`
`boolean` `SecurityPolicy.canSubscribe(Client client, String channel, Message messsage)`
`void` `MessageListener.deliver(Client fromClient, Client toClient, Message msg)` Called when a message is delivered to the client
`void` `Bayeux.deliver(Client fromClient, Client toClient, String toChannel, Message message)` Deprecated. use `deliver(Client, Message)`
`void` `Client.deliver(Client from, Message message)` Deprecated. use `deliver(Client, String, Object, String)`
`void` `Client.deliver(Client from, String toChannel, Object data, String id)`
`Object` `DataFilter.filter(Client from, Channel to, Object data)`
`void` `Channel.publish(Client fromClient, Object data, String msgId)` Publish a message This is equivalent to Bayeux.publish(fromClient,channel.getId(),data,msgId).
`void` `Bayeux.publish(Client fromClient, String toChannel, Object data, String msgId)` Deprecated. use `Channel.publish(Client, Object, String)`
`void` `Channel.subscribe(Client subscriber)` Subscribe to a channel.
`void` `Bayeux.subscribe(String toChannel, Client subscriber)` Deprecated. use `Channel.subscribe(Client)`
`void` `Channel.unsubscribe(Client subscriber)` Unsubscribe to a channel
`void` `Bayeux.unsubscribe(String toChannel, Client subscriber)` Deprecated. use `Channel.unsubscribe(Client)`

Uses of Client in dojox.cometd.demo

Methods in dojox.cometd.demo with parameters of type Client
`Object` `BayeuxStartupListener.EchoRPC.doEcho(Client client, Object data)`
`void` `BayeuxStartupListener.Monitor.monitorMeta(Client client, Message message)`
`void` `BayeuxStartupListener.Monitor.monitorSubscribe(Client client, Message message)`
`void` `BayeuxStartupListener.Monitor.monitorUnsubscribe(Client client, Message message)`
`void` `BayeuxStartupListener.ChatService.trackMembers(Client joiner, String channel, Map<String,Object> data, String id)`

Uses of Client in org.mortbay.cometd

Classes in org.mortbay.cometd that implement Client
`class` `ClientImpl`

Methods in org.mortbay.cometd that return Client
`Client` `BayeuxService.getClient()`
`Client` `AbstractBayeux.getClient(String client_id)`
`Client` `AbstractBayeux.newClient(String idPrefix)`
`Client` `AbstractBayeux.newClient(String idPrefix, Listener listener)` Deprecated. use `AbstractBayeux.newClient(String)`
`Client` `AbstractBayeux.removeClient(String client_id)`

Methods in org.mortbay.cometd that return types with arguments of type Client
`Collection<Client>` `AbstractBayeux.getClients()`
`Collection<Client>` `ChannelImpl.getSubscribers()`

Methods in org.mortbay.cometd with parameters of type Client
`boolean` `AbstractBayeux.DefaultPolicy.canCreate(Client client, String channel, Message message)`
`boolean` `AbstractBayeux.DefaultPolicy.canPublish(Client client, String channel, Message message)`
`boolean` `AbstractBayeux.DefaultPolicy.canSubscribe(Client client, String channel, Message message)`
`void` `AbstractBayeux.deliver(Client fromClient, Client toClient, String toChannel, Message message)` Deprecated. use `deliver(Client, Message)`
`void` `ClientImpl.deliver(Client from, Message message)` Deprecated. use `ClientImpl.deliver(Client, String, Object, String)`
`void` `ClientImpl.deliver(Client from, String toChannel, Object data, String id)`
`protected void` `ChannelImpl.doDelivery(ChannelId to, Client from, Message msg)`
`protected void` `ClientImpl.doDelivery(Client from, Message message)`
`protected void` `AbstractBayeux.doPublish(ChannelId to, Client from, Object data, String msgId)` Publish data to a channel.
`protected void` `BayeuxService.exception(Client fromClient, Client toClient, Map<String,Object> msg, Throwable th)` Handle Exception.
`String` `ChannelImpl.getToken(Client client, boolean subscribe, boolean send, boolean oneTime)`
`void` `ChannelImpl.publish(Client fromClient, Object data, String msgId)`
`void` `AbstractBayeux.publish(Client fromClient, String toChannelId, Object data, String msgId)` Deprecated. use `Channel.publish(Client, Object, String)`
`protected void` `BayeuxService.send(Client toClient, String onChannel, Object data, String id)` Send data to a individual client.
`void` `ChannelImpl.subscribe(Client client)`
`void` `AbstractBayeux.ServiceChannel.subscribe(Client client)`
`void` `AbstractBayeux.subscribe(String toChannel, Client subscriber)`
`void` `ChannelImpl.unsubscribe(Client client)`
`void` `AbstractBayeux.unsubscribe(String toChannel, Client subscriber)`

Uses of Client in org.mortbay.cometd.client

Classes in org.mortbay.cometd.client that implement Client
`class` `BayeuxClient` Bayeux protocol Client.

Methods in org.mortbay.cometd.client with parameters of type Client
`void` `BayeuxClient.deliver(Client from, Message message)` Deprecated. use `BayeuxClient.deliver(Client, String, Object, String)`
`void` `BayeuxClient.deliver(Client from, String toChannel, Object data, String id)`

Uses of Client in org.mortbay.cometd.continuation

Classes in org.mortbay.cometd.continuation that implement Client
`class` `ContinuationClient` Extension of `ClientImpl` that uses `Continuation`s to resume clients waiting for messages.

Uses of Client in org.mortbay.cometd.filter

Methods in org.mortbay.cometd.filter with parameters of type Client
`Object` `JSONDataFilter.filter(Client from, Channel to, Object data)`
`protected Object` `JSONDataFilter.filterArray(Client from, Channel to, Object array)`
`protected Object` `JSONDataFilter.filterJSON(Client from, Channel to, JSON.Generator generator)`
`protected Object` `JSONDataFilter.filterJSON(Client from, Channel to, JSON.Literal json)`
`protected Object` `JSONDataFilter.filterMap(Client from, Channel to, Map object)`
`protected Object` `JSONDataFilter.filterObject(Client from, Channel to, Object obj)`

Copyright © 2008 Mort Bay Consulting. All Rights Reserved.