Package | Description |
---|---|
org.astrogrid.samp.gui |
Classes required only for graphical components based on SAMP classes.
|
org.astrogrid.samp.hub |
Classes required only for running a SAMP hub.
|
Modifier and Type | Method and Description |
---|---|
HubClient |
MessageTrackerHubService.createClient(String publicId,
ProfileToken ptoken) |
Modifier and Type | Method and Description |
---|---|
protected void |
GuiHubService.declareMetadata(HubClient caller,
Map meta) |
protected void |
GuiHubService.declareSubscriptions(HubClient caller,
Map subscriptions) |
protected void |
MessageTrackerHubService.reply(HubClient caller,
String msgId,
Map response) |
Modifier and Type | Method and Description |
---|---|
protected HubClient |
BasicHubService.createClient(String publicId,
ProfileToken ptoken)
Factory method used to create all the client objects which will
be used by this hub service.
|
HubClient[] |
ClientSet.getClients()
Returns an array of all the currently contained clients.
|
HubClient[] |
BasicClientSet.getClients() |
HubClient |
ClientSet.getFromPublicId(String publicId)
Returns the client in the set corresponding to a given public ID.
|
HubClient |
BasicClientSet.getFromPublicId(String publicId) |
Modifier and Type | Method and Description |
---|---|
void |
ClientSet.add(HubClient client)
Adds a new client to the set.
|
void |
BasicClientSet.add(HubClient client) |
protected String |
BasicHubService.call(HubClient caller,
String recipientId,
String msgTag,
Map message)
Does the work for the
call method of connections
registered with this service. |
protected Map |
BasicHubService.callAll(HubClient caller,
String msgTag,
Map message)
Does the work for the
call method of connections
registered with this service. |
protected Response |
BasicHubService.callAndWait(HubClient caller,
String recipientId,
Map message,
int timeout)
Does the work for the
callAndWait method of connections
registered with this service. |
boolean |
ClientSet.containsClient(HubClient client)
Indicates whether a given client is currently a member of this set.
|
boolean |
BasicClientSet.containsClient(HubClient client) |
protected HubConnection |
BasicHubService.createConnection(HubClient caller)
Returns a new HubConnection for use by a given hub client.
|
protected void |
BasicHubService.declareMetadata(HubClient caller,
Map meta)
Does the work for the
declareMetadata method of connections
registered with this service. |
protected void |
BasicHubService.declareSubscriptions(HubClient caller,
Map subscriptions)
Does the work for the
declareSubscriptions method of
connections registered with this service. |
protected Metadata |
BasicHubService.getMetadata(HubClient caller,
String clientId)
Does the work for the
getMetadata method of connections
registered with this service. |
protected String[] |
BasicHubService.getRegisteredClients(HubClient caller)
Does the work for the
getRegisteredClients method of
connections registered with this service. |
protected Map |
BasicHubService.getSubscribedClients(HubClient caller,
String mtype)
Does the work for the
getSubscribedClients method of
connections registered with this service. |
protected Subscriptions |
BasicHubService.getSubscriptions(HubClient caller,
String clientId)
Does the work for the
getSubscriptions method of connections
registered with this service. |
protected void |
BasicHubService.notify(HubClient caller,
String recipientId,
Map message)
Does the work for the
notify method of connections
registered with this service. |
protected List |
BasicHubService.notifyAll(HubClient caller,
Map message)
Does the work for the
notifyAll method of connections
registered with this service. |
void |
ClientSet.remove(HubClient client)
Removes a client from the set.
|
void |
BasicClientSet.remove(HubClient client) |
protected void |
BasicHubService.reply(HubClient caller,
String msgIdStr,
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. |
Copyright © 2008–2024. All rights reserved.