Uses of Interface
org.cometd.Client

Uses of Client in org.cometd
 

Methods in org.cometd that return Client
 Client Bayeux.getClient(java.lang.String clientId)
          Get Client by ID.
 Client Bayeux.newClient(java.lang.String idprefix)
          Create a new server side Client.
 Client Bayeux.removeClient(java.lang.String clientId)
           
 

Methods in org.cometd that return types with arguments of type Client
 java.util.Collection<Client> Bayeux.getClients()
          Get a collection of all Clients.
 java.util.Collection<Client> Channel.getSubscribers()
           
 

Methods in org.cometd with parameters of type Client
 boolean SecurityPolicy.canCreate(Client client, java.lang.String channel, Message message)
          Test if a message should be allowed to create a new Channel
 boolean SecurityPolicy.canPublish(Client client, java.lang.String channel, Message messsage)
          Test if a client can publish a message to a channel
 boolean SecurityPolicy.canSubscribe(Client client, java.lang.String channel, Message messsage)
          Test if a client is allowed to subscribe to a channel
 void ClientBayeuxListener.clientAdded(Client client)
           
 void ClientBayeuxListener.clientRemoved(Client client)
           
 void MessageListener.deliver(Client fromClient, Client toClient, Message msg)
          Called when a message is delivered to the client
 void DeliverListener.deliver(Client client, java.util.Queue<Message> queue)
          callback to notify that the queue is about to be sent to the client.
 void Client.deliver(Client from, java.lang.String toChannel, java.lang.Object data, java.lang.String id)
           
 java.lang.Object DataFilter.filter(Client from, Channel to, java.lang.Object data)
           
 void Channel.publish(Client fromClient, java.lang.Object data, java.lang.String msgId)
          Publish a message.
 boolean QueueListener.queueMaxed(Client client, Message message)
          Call back to notify if a message for a client will result in the message queue exceeding getMaxQueue().
 void Channel.subscribe(Client subscriber)
          Subscribe to a channel.
 void SubscriptionListener.subscribed(Client client, Channel channel)
           
 void Channel.unsubscribe(Client subscriber)
          Unsubscribe to a channel
 void SubscriptionListener.unsubscribed(Client client, Channel channel)
           
 



Copyright © 2010 Dojo Foundation. All Rights Reserved.