Uses of Class
org.astrogrid.samp.hub.HubClient
Packages that use HubClient
Package
Description
Classes required only for graphical components based on SAMP classes.
Classes required only for running a SAMP hub.
-
Uses of HubClient in org.astrogrid.samp.gui
Methods in org.astrogrid.samp.gui that return HubClientModifier and TypeMethodDescriptionMessageTrackerHubService.createClient
(String publicId, ProfileToken ptoken) Methods in org.astrogrid.samp.gui with parameters of type HubClientModifier and TypeMethodDescriptionprotected void
GuiHubService.declareMetadata
(HubClient caller, Map meta) protected void
GuiHubService.declareSubscriptions
(HubClient caller, Map subscriptions) protected void
-
Uses of HubClient in org.astrogrid.samp.hub
Methods in org.astrogrid.samp.hub that return HubClientModifier and TypeMethodDescriptionprotected HubClient
BasicHubService.createClient
(String publicId, ProfileToken ptoken) Factory method used to create all the client objects which will be used by this hub service.BasicClientSet.getClients()
ClientSet.getClients()
Returns an array of all the currently contained clients.BasicClientSet.getFromPublicId
(String publicId) ClientSet.getFromPublicId
(String publicId) Returns the client in the set corresponding to a given public ID.Methods in org.astrogrid.samp.hub with parameters of type HubClientModifier and TypeMethodDescriptionvoid
void
Adds a new client to the set.protected String
Does the work for thecall
method of connections registered with this service.protected Map
Does the work for thecall
method of connections registered with this service.protected Response
BasicHubService.callAndWait
(HubClient caller, String recipientId, Map message, int timeout) Does the work for thecallAndWait
method of connections registered with this service.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, Map meta) Does the work for thedeclareMetadata
method of connections registered with this service.protected void
BasicHubService.declareSubscriptions
(HubClient caller, Map subscriptions) Does the work for thedeclareSubscriptions
method of connections registered with this service.protected Metadata
BasicHubService.getMetadata
(HubClient caller, String clientId) Does the work for thegetMetadata
method of connections registered with this service.protected String[]
BasicHubService.getRegisteredClients
(HubClient caller) Does the work for thegetRegisteredClients
method of connections registered with this service.protected Map
BasicHubService.getSubscribedClients
(HubClient caller, String mtype) Does the work for thegetSubscribedClients
method of connections registered with this service.protected Subscriptions
BasicHubService.getSubscriptions
(HubClient caller, String clientId) Does the work for thegetSubscriptions
method of connections registered with this service.protected void
Does the work for thenotify
method of connections registered with this service.protected List
Does the work for thenotifyAll
method of connections registered with this service.void
void
Removes a client from the set.protected void
Does the work for thereply
method of connections registered with this service.protected void
BasicHubService.setCallable
(HubClient caller, CallableClient callable) Does the work for thesetCallable
method of connections registered with this service.protected void
BasicHubService.unregister
(HubClient caller) Does the work for theunregister
method of conections registered with this service.