void |
BasicClientSet.add(HubClient client) |
|
void |
ClientSet.add(HubClient client) |
Adds a new client to the set.
|
protected java.lang.String |
BasicHubService.call(HubClient caller,
java.lang.String recipientId,
java.lang.String msgTag,
java.util.Map message) |
Does the work for the call method of connections
registered with this service.
|
protected java.util.Map |
BasicHubService.callAll(HubClient caller,
java.lang.String msgTag,
java.util.Map message) |
Does the work for the call method of connections
registered with this service.
|
protected Response |
BasicHubService.callAndWait(HubClient caller,
java.lang.String recipientId,
java.util.Map message,
int timeout) |
Does the work for the callAndWait method of connections
registered with this service.
|
private boolean |
BasicHubService.canSend(HubClient sender,
HubClient recipient,
java.lang.String mtype) |
Indicates whether a given send is permitted.
|
private void |
BasicHubService.checkSend(HubClient sender,
HubClient recipient,
java.lang.String mtype) |
Checks if a given send is permitted.
|
boolean |
BasicClientSet.containsClient(HubClient client) |
|
boolean |
ClientSet.containsClient(HubClient client) |
Indicates whether a given client is currently a member of this set.
|
protected HubConnection |
BasicHubService.createConnection(HubClient caller) |
Returns a new HubConnection for use by a given hub client.
|
protected void |
BasicHubService.declareMetadata(HubClient caller,
java.util.Map meta) |
Does the work for the declareMetadata method of connections
registered with this service.
|
protected void |
BasicHubService.declareSubscriptions(HubClient caller,
java.util.Map subscriptions) |
Does the work for the declareSubscriptions method of
connections registered with this service.
|
static java.lang.String |
BasicHubService.MessageId.encode(HubClient sender,
java.lang.String senderTag,
boolean isSynch) |
Returns a message ID string corresponding to the arguments.
|
protected Metadata |
BasicHubService.getMetadata(HubClient caller,
java.lang.String clientId) |
Does the work for the getMetadata method of connections
registered with this service.
|
protected java.lang.String[] |
BasicHubService.getRegisteredClients(HubClient caller) |
Does the work for the getRegisteredClients method of
connections registered with this service.
|
private java.lang.String |
BasicHubService.getSendError(HubClient sender,
HubClient recipient,
java.lang.String mtype) |
Does the work to determine whether a given sending client is
permitted to send a message with a given MType to a given recipient.
|
protected java.util.Map |
BasicHubService.getSubscribedClients(HubClient caller,
java.lang.String mtype) |
Does the work for the getSubscribedClients method of
connections registered with this service.
|
protected Subscriptions |
BasicHubService.getSubscriptions(HubClient caller,
java.lang.String clientId) |
Does the work for the getSubscriptions method of connections
registered with this service.
|
private Subscriptions |
BasicHubService.getSubscriptionsFor(HubClient client,
Subscriptions subs) |
Returns the view of a given subscriptions map to be presented to
a sending client.
|
protected void |
BasicHubService.notify(HubClient caller,
java.lang.String recipientId,
java.util.Map message) |
Does the work for the notify method of connections
registered with this service.
|
protected java.util.List |
BasicHubService.notifyAll(HubClient caller,
java.util.Map message) |
Does the work for the notifyAll method of connections
registered with this service.
|
void |
BasicClientSet.remove(HubClient client) |
|
void |
ClientSet.remove(HubClient client) |
Removes a client from the set.
|
protected void |
BasicHubService.reply(HubClient caller,
java.lang.String msgIdStr,
java.util.Map resp) |
Does the work for the reply method of connections
registered with this service.
|
protected void |
BasicHubService.setCallable(HubClient caller,
CallableClient callable) |
Does the work for the setCallable method of connections
registered with this service.
|
protected void |
BasicHubService.unregister(HubClient caller) |
Does the work for the unregister method of conections
registered with this service.
|