Uses of Class
org.astrogrid.samp.client.SampException
-
Packages that use SampException Package Description org.astrogrid.samp.bridge Classes for the SAMP Bridge.org.astrogrid.samp.client Classes required only for SAMP clients.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.org.astrogrid.samp.test Classes for testing.org.astrogrid.samp.web Classes relating to the SAMP Web Profile.org.astrogrid.samp.xmlrpc Classes relating to Standard Profile and XML-RPC pluggable implementation layer. -
-
Uses of SampException in org.astrogrid.samp.bridge
Methods in org.astrogrid.samp.bridge that throw SampException Modifier and Type Method Description voidProxyManager.ProxyCallableClient. receiveCall(java.lang.String remoteSenderId, java.lang.String remoteMsgId, Message msg)voidProxyManager.ProxyCallableClient. receiveNotification(java.lang.String remoteSenderId, Message msg)voidProxyManager.ProxyCallableClient. receiveResponse(java.lang.String remoteResponderId, java.lang.String remoteMsgTag, Response response) -
Uses of SampException in org.astrogrid.samp.client
Methods in org.astrogrid.samp.client that throw SampException Modifier and Type Method Description java.lang.StringHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)Sends a message to a given client expecting a response.voidHubConnector. call(java.lang.String recipientId, java.util.Map msg, ResultHandler resultHandler, int timeout)Sends a message asynchronously to a single client, making a callback on a supplied ResultHandler object when the result arrives.java.util.MapHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)Sends a message to all subscribed clients expecting responses.voidHubConnector. callAll(java.util.Map msg, ResultHandler resultHandler, int timeout)Sends a message asynchronously to all subscribed clients, making callbacks on a supplied ResultHandler object when the results arrive.ResponseHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)Sends a message synchronously to a client, waiting for the response.ResponseHubConnector. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)Sends a message synchronously to a client, waiting for the response.voidHubConnector. configureConnection(HubConnection connection)Configures a connection with a hub in accordance with the state of this object.protected HubConnectionHubConnector. createConnection()Invoked by this class to create a hub connection.voidHubConnection. declareMetadata(java.util.Map meta)Declares this registered client's metadata.voidHubConnection. declareSubscriptions(java.util.Map subs)Declares this registered client's MType subscriptions.HubConnectionHubConnector. getConnection()If necessary attempts to acquire, and returns, a connection to a running hub.MetadataHubConnection. getMetadata(java.lang.String clientId)Returns the metadata for another registered client.java.lang.String[]HubConnection. getRegisteredClients()Returns the list of client public IDs for those clients currently registered.java.util.MapHubConnection. getSubscribedClients(java.lang.String mtype)Returns a map of subscriptions for a given MType.SubscriptionsHubConnection. getSubscriptions(java.lang.String clientId)Returns the subscriptions for another registered client.voidClientTracker. initialise(HubConnection connection)Initialises this tracker from a hub connection.voidHubConnection. notify(java.lang.String recipientId, java.util.Map msg)Sends a message to a given client without wanting a response.java.util.ListHubConnection. notifyAll(java.util.Map msg)Sends a message to all subscribed clients without wanting a response.voidHubConnection. ping()Tests whether the connection is currently open.voidAbstractMessageHandler. receiveCall(HubConnection connection, java.lang.String senderId, java.lang.String msgId, Message message)CallsAbstractMessageHandler.processCall(org.astrogrid.samp.client.HubConnection, java.lang.String, org.astrogrid.samp.Message), generates a response from the result usingAbstractMessageHandler.createResponse(java.util.Map), and sends the resulting response as a reply to the hub.HubConnectionClientProfile. register()Attempts to register with a SAMP hub and return a corresponding connection object.voidHubConnection. reply(java.lang.String msgId, java.util.Map response)Supplies a response to a previously received message.voidHubConnection. setCallable(CallableClient callable)Tells the hub how it can perform callbacks on the client by providing a CallableClient object.voidHubConnection. unregister()Unregisters the client and terminates this connection. -
Uses of SampException in org.astrogrid.samp.gui
Methods in org.astrogrid.samp.gui that throw SampException Modifier and Type Method Description java.lang.StringMessageTrackerHubConnector.MessageTrackerHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.lang.StringWrapperHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.util.MapMessageTrackerHubConnector.MessageTrackerHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)java.util.MapWrapperHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)ResponseMessageTrackerHubConnector.MessageTrackerHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)ResponseWrapperHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)protected HubConnectionMessageTrackerHubConnector. createConnection()protected voidGuiHubService. declareMetadata(HubClient caller, java.util.Map meta)voidWrapperHubConnection. declareMetadata(java.util.Map meta)protected voidGuiHubService. declareSubscriptions(HubClient caller, java.util.Map subscriptions)voidWrapperHubConnection. declareSubscriptions(java.util.Map subs)MetadataWrapperHubConnection. getMetadata(java.lang.String clientId)java.lang.String[]WrapperHubConnection. getRegisteredClients()java.util.MapWrapperHubConnection. getSubscribedClients(java.lang.String mtype)SubscriptionsWrapperHubConnection. getSubscriptions(java.lang.String clientId)voidMessageTrackerHubConnector.MessageTrackerHubConnection. notify(java.lang.String recipientId, java.util.Map msg)voidWrapperHubConnection. notify(java.lang.String recipientId, java.util.Map msg)java.util.ListMessageTrackerHubConnector.MessageTrackerHubConnection. notifyAll(java.util.Map msg)java.util.ListWrapperHubConnection. notifyAll(java.util.Map msg)voidWrapperHubConnection. ping()voidMessageTrackerHubService.MessageTrackerCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)voidMessageTrackerHubService.MessageTrackerCallableClient. receiveNotification(java.lang.String senderId, Message msg)voidMessageTrackerHubConnector.MessageTrackerHubConnection. reply(java.lang.String msgId, java.util.Map response)protected voidMessageTrackerHubService. reply(HubClient caller, java.lang.String msgId, java.util.Map response)voidWrapperHubConnection. reply(java.lang.String msgId, java.util.Map response)protected abstract voidSampThread. sampRun()Called from theSampThread.run()method.voidMessageTrackerHubConnector.MessageTrackerHubConnection. setCallable(CallableClient callable)voidWrapperHubConnection. setCallable(CallableClient callable)voidWrapperHubConnection. unregister() -
Uses of SampException in org.astrogrid.samp.hub
Methods in org.astrogrid.samp.hub that throw SampException Modifier and Type Method Description protected java.lang.StringBasicHubService. call(HubClient caller, java.lang.String recipientId, java.lang.String msgTag, java.util.Map message)Does the work for thecallmethod of connections registered with this service.java.lang.StringWrapperHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)protected java.util.MapBasicHubService. callAll(HubClient caller, java.lang.String msgTag, java.util.Map message)Does the work for thecallmethod of connections registered with this service.java.util.MapWrapperHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)protected ResponseBasicHubService. callAndWait(HubClient caller, java.lang.String recipientId, java.util.Map message, int timeout)Does the work for thecallAndWaitmethod of connections registered with this service.ResponseWrapperHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)private voidBasicHubService. checkSend(HubClient sender, HubClient recipient, java.lang.String mtype)Checks if a given send is permitted.protected voidBasicHubService. declareMetadata(HubClient caller, java.util.Map meta)Does the work for thedeclareMetadatamethod of connections registered with this service.voidWrapperHubConnection. declareMetadata(java.util.Map meta)protected voidBasicHubService. declareSubscriptions(HubClient caller, java.util.Map subscriptions)Does the work for thedeclareSubscriptionsmethod of connections registered with this service.voidFacadeHubService.FacadeHubConnection. declareSubscriptions(java.util.Map subs)voidWrapperHubConnection. declareSubscriptions(java.util.Map subs)static BasicHubService.MessageIdBasicHubService.MessageId. decode(java.lang.String msgId)Decodes a msgId string to return the corresponding MessageId object.private HubClientBasicHubService. getClient(java.lang.String id)Returns the client object corresponding to a public client ID.private AbstractMessageHandlerHubCallableClient. getHandler(java.lang.String mtype)Returns a handler owned by this callable client which can handle a given MType.protected MetadataBasicHubService. getMetadata(HubClient caller, java.lang.String clientId)Does the work for thegetMetadatamethod of connections registered with this service.MetadataWrapperHubConnection. getMetadata(java.lang.String clientId)protected java.lang.String[]BasicHubService. getRegisteredClients(HubClient caller)Does the work for thegetRegisteredClientsmethod of connections registered with this service.java.lang.String[]WrapperHubConnection. getRegisteredClients()protected java.util.MapBasicHubService. getSubscribedClients(HubClient caller, java.lang.String mtype)Does the work for thegetSubscribedClientsmethod of connections registered with this service.java.util.MapWrapperHubConnection. getSubscribedClients(java.lang.String mtype)protected SubscriptionsBasicHubService. getSubscriptions(HubClient caller, java.lang.String clientId)Does the work for thegetSubscriptionsmethod of connections registered with this service.SubscriptionsWrapperHubConnection. getSubscriptions(java.lang.String clientId)protected voidBasicHubService. notify(HubClient caller, java.lang.String recipientId, java.util.Map message)Does the work for thenotifymethod of connections registered with this service.voidWrapperHubConnection. notify(java.lang.String recipientId, java.util.Map msg)protected java.util.ListBasicHubService. notifyAll(HubClient caller, java.util.Map message)Does the work for thenotifyAllmethod of connections registered with this service.java.util.ListWrapperHubConnection. notifyAll(java.util.Map msg)voidWrapperHubConnection. ping()voidHubCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)voidHubClient.NoCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)voidHubCallableClient. receiveNotification(java.lang.String senderId, Message msg)voidHubClient.NoCallableClient. receiveNotification(java.lang.String senderId, Message message)voidHubCallableClient. receiveResponse(java.lang.String responderId, java.lang.String msgTag, Response response)voidHubClient.NoCallableClient. receiveResponse(java.lang.String responderId, java.lang.String msgId, Response response)private voidHubClient.NoCallableClient. refuse()HubConnectionBasicHubService. register(ProfileToken ptoken)HubConnectionFacadeHubService. register(ProfileToken profileToken)HubConnectionHubService. register(ProfileToken profileToken)Creates a new connection to this hub service, thereby initiating a new registered client.protected voidBasicHubService. reply(HubClient caller, java.lang.String msgIdStr, java.util.Map resp)Does the work for thereplymethod of connections registered with this service.voidWrapperHubConnection. reply(java.lang.String msgId, java.util.Map response)protected voidBasicHubService. setCallable(HubClient caller, CallableClient callable)Does the work for thesetCallablemethod of connections registered with this service.voidFacadeHubService.FacadeHubConnection. setCallable(CallableClient callable)voidWrapperHubConnection. setCallable(CallableClient client)protected voidBasicHubService. unregister(HubClient caller)Does the work for theunregistermethod of conections registered with this service.voidWrapperHubConnection. unregister() -
Uses of SampException in org.astrogrid.samp.test
Methods in org.astrogrid.samp.test that throw SampException Modifier and Type Method Description java.lang.StringReplyCollector. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)Performs acallmethod on this collector's hub connection.java.util.MapReplyCollector. callAll(java.lang.String msgTag, java.util.Map msg)Performs acallAllmethod on this collector's hub connection.private static java.lang.String[]MessageSender. namesToIds(HubConnection conn, java.lang.String[] names)Translates an array of client names to client IDs.voidCalculator. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)voidHubTester.TestCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)private HubConnectionHubTester. register()Registers with the hub, performing various checks.(package private) abstract voidCalculator.SendMode. send(Calculator calc, java.lang.String receiverId, Calculator.CalcRequest request, int iseq)Sends a message from one calculator client to another using this send mode.voidCalculator. sendMessage(java.lang.String receiverId, Calculator.SendMode mode)Sends a randomly generated message in a randomly generated way to a given receiver.Constructors in org.astrogrid.samp.test that throw SampException Constructor Description Calculator(HubConnection connection, java.util.Random random)Constructor.MetaClient(java.lang.String id, HubConnection connection)Constructor which attempts to acquire metadata from a given hub connection. -
Uses of SampException in org.astrogrid.samp.web
Methods in org.astrogrid.samp.web that throw SampException Modifier and Type Method Description voidWebHubActor. allowReverseCallbacks(java.lang.String privateKey, java.lang.String allow)Indicates that the client will or will not be callingWebHubActor.pullCallbacks(java.lang.String, java.lang.String)to receive callable client-type callbacks until further notice.voidWebHubXmlRpcHandler.WebHubActorImpl. allowReverseCallbacks(java.lang.String clientKey, java.lang.String allow)voidClientAuthorizer. authorize(HttpServer.Request request, java.util.Map securityMap)Indicates whether an HTTP request representing an otherwise unauthorized connection attempt will be permitted access to sensitive system resources.voidExtremeSwingClientAuthorizer. authorize(HttpServer.Request request, java.util.Map securityMap)voidHubSwingClientAuthorizer. authorize(HttpServer.Request request, java.util.Map securityMap)java.lang.StringUrlTrackerHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.lang.StringWebHubActor. call(java.lang.String privateKey, java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)Sends a message to a given client expecting a response.java.lang.StringWebHubXmlRpcHandler.WebHubActorImpl. call(java.lang.String clientKey, java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.util.MapUrlTrackerHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)java.util.MapWebHubActor. callAll(java.lang.String privateKey, java.lang.String msgTag, java.util.Map msg)Sends a message to all subscribed clients expecting responses.java.util.MapWebHubXmlRpcHandler.WebHubActorImpl. callAll(java.lang.String clientKey, java.lang.String msgTag, java.util.Map msg)ResponseUrlTrackerHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)java.util.MapWebHubActor. callAndWait(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg, java.lang.String timeout)Sends a message synchronously to a client.java.util.MapWebHubXmlRpcHandler.WebHubActorImpl. callAndWait(java.lang.String clientKey, java.lang.String recipientId, java.util.Map msg, java.lang.String timeout)CredentialPresenter.PresentationCredentialPresenter. createPresentation(HttpServer.Request request, java.util.Map securityMap, AuthResourceBundle.Content authContent)Returns an object which contains user-directed credential messages, given available information from the registration request.CredentialPresenter.PresentationWebCredentialPresenter. createPresentation(HttpServer.Request request, java.util.Map securityMap, AuthResourceBundle.Content authContent)voidUrlTrackerHubConnection. declareMetadata(java.util.Map meta)voidWebHubActor. declareMetadata(java.lang.String privateKey, java.util.Map meta)Declares metadata for the calling client.voidWebHubXmlRpcHandler.WebHubActorImpl. declareMetadata(java.lang.String clientKey, java.util.Map meta)voidUrlTrackerHubConnection. declareSubscriptions(java.util.Map subs)voidWebHubActor. declareSubscriptions(java.lang.String privateKey, java.util.Map subs)Declares subscription information for the calling client.voidWebHubXmlRpcHandler.WebHubActorImpl. declareSubscriptions(java.lang.String clientKey, java.util.Map subs)static java.lang.StringClientAuthorizers. getAppName(java.util.Map securityMap)Returns the mandatory application name entry from the security map supplied explicitly by clients wishing to register.private HubConnectionWebHubXmlRpcHandler.WebHubActorImpl. getConnection(java.lang.String privateKey)Returns the connection object associated with a given private key.private java.lang.Object[]HubSwingClientAuthorizer. getMessageLines(HttpServer.Request request, java.util.Map securityMap, AuthResourceBundle.Content authContent)Returns a "message" object describing the applying client to the user.MetadataUrlTrackerHubConnection. getMetadata(java.lang.String clientId)java.util.MapWebHubActor. getMetadata(java.lang.String privateKey, java.lang.String clientId)Returns metadata for a given client.java.util.MapWebHubXmlRpcHandler.WebHubActorImpl. getMetadata(java.lang.String clientKey, java.lang.String clientId)java.lang.String[]UrlTrackerHubConnection. getRegisteredClients()java.util.ListWebHubActor. getRegisteredClients(java.lang.String privateKey)Returns a list of the public-ids of all currently registered clients.java.util.ListWebHubXmlRpcHandler.WebHubActorImpl. getRegisteredClients(java.lang.String clientKey)private WebHubXmlRpcHandler.RegistrationWebHubXmlRpcHandler.WebHubActorImpl. getRegistration(java.lang.String privateKey)Returns the registration object associated with a given private key.java.util.MapUrlTrackerHubConnection. getSubscribedClients(java.lang.String mtype)java.util.MapWebHubActor. getSubscribedClients(java.lang.String privateKey, java.lang.String mtype)Returns a map of the clients subscribed to a given MType.java.util.MapWebHubXmlRpcHandler.WebHubActorImpl. getSubscribedClients(java.lang.String clientKey, java.lang.String mtype)SubscriptionsUrlTrackerHubConnection. getSubscriptions(java.lang.String clientId)java.util.MapWebHubActor. getSubscriptions(java.lang.String privateKey, java.lang.String clientId)Returns subscriptions for a given client.java.util.MapWebHubXmlRpcHandler.WebHubActorImpl. getSubscriptions(java.lang.String clientKey, java.lang.String clientId)voidUrlTrackerHubConnection. notify(java.lang.String recipientId, java.util.Map msg)voidWebHubActor. notify(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg)Sends a message to a given client without wanting a response.voidWebHubXmlRpcHandler.WebHubActorImpl. notify(java.lang.String clientKey, java.lang.String recipientId, java.util.Map msg)java.util.ListUrlTrackerHubConnection. notifyAll(java.util.Map msg)java.util.ListWebHubActor. notifyAll(java.lang.String privateKey, java.util.Map msg)Sends a message to all subscribed clients without wanting a response.java.util.ListWebHubXmlRpcHandler.WebHubActorImpl. notifyAll(java.lang.String clientKey, java.util.Map msg)voidUrlTrackerHubConnection. ping()voidWebHubActor. ping()Throws an exception if service is not operating.voidWebHubActor. ping(java.lang.String privateKey)Throws an exception if service is not operating.java.util.ListWebCallableClient. pullCallbacks(int timeout)Blocks for up to a given number of seconds or until any callbacks are ready, then returns any ready callbacks.java.util.ListWebHubActor. pullCallbacks(java.lang.String privateKey, java.lang.String timeout)Waits for up to a certain length of time for any callbacks to be delivered.java.util.ListWebHubXmlRpcHandler.WebHubActorImpl. pullCallbacks(java.lang.String clientKey, java.lang.String timeout)HubConnectionWebClientProfile. register()RegInfoWebHubXmlRpcHandler.WebHubActorImpl. register(HttpServer.Request request, java.util.Map securityMap)Attempt client registration.voidUrlTrackerHubConnection. reply(java.lang.String msgId, java.util.Map response)voidWebHubActor. reply(java.lang.String privateKey, java.lang.String msgId, java.util.Map response)Responds to a previously sent message.voidWebHubXmlRpcHandler.WebHubActorImpl. reply(java.lang.String clientKey, java.lang.String msgId, java.util.Map response)voidUrlTrackerHubConnection. setCallable(CallableClient callable)voidWebHubConnection. setCallable(CallableClient client)voidUrlTrackerHubConnection. unregister()voidWebHubActor. unregister(java.lang.String privateKey)Unregisters a registered client.voidWebHubXmlRpcHandler.WebHubActorImpl. unregister(java.lang.String clientKey)Constructors in org.astrogrid.samp.web that throw SampException Constructor Description WebHubConnection(SampXmlRpcClient xClient, java.util.Map securityMap)Constructor. -
Uses of SampException in org.astrogrid.samp.xmlrpc
Methods in org.astrogrid.samp.xmlrpc that throw SampException Modifier and Type Method Description private java.util.ListXmlRpcHubConnection. asList(java.lang.Object obj)Utility method to cast an object to a list.private java.util.MapXmlRpcHubConnection. asMap(java.lang.Object obj)Utility method to cast an object to a map.private java.lang.StringXmlRpcHubConnection. asString(java.lang.Object obj)Utility method to cast an object to a string.private static java.lang.ObjectXmlRpcHubConnection. asType(java.lang.Object obj, java.lang.Class clazz, java.lang.String name)Utility method to cast an object to a given SAMP-like type.java.lang.StringHubActor. call(java.lang.String privateKey, java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)Sends a message to a given client expecting a response.java.lang.StringHubXmlRpcHandler.HubActorImpl. call(java.lang.String privateKey, java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.lang.StringXmlRpcHubConnection. call(java.lang.String recipientId, java.lang.String msgTag, java.util.Map msg)java.util.MapHubActor. callAll(java.lang.String privateKey, java.lang.String msgTag, java.util.Map msg)Sends a message to all subscribed clients expecting responses.java.util.MapHubXmlRpcHandler.HubActorImpl. callAll(java.lang.String privateKey, java.lang.String msgTag, java.util.Map msg)java.util.MapXmlRpcHubConnection. callAll(java.lang.String msgTag, java.util.Map msg)java.util.MapHubActor. callAndWait(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg, java.lang.String timeout)Sends a message synchronously to a client.java.util.MapHubXmlRpcHandler.HubActorImpl. callAndWait(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg, java.lang.String timeoutStr)ResponseXmlRpcHubConnection. callAndWait(java.lang.String recipientId, java.util.Map msg, int timeout)voidHubActor. declareMetadata(java.lang.String privateKey, java.util.Map meta)Declares metadata for the calling client.voidHubXmlRpcHandler.HubActorImpl. declareMetadata(java.lang.String privateKey, java.util.Map metadata)voidXmlRpcHubConnection. declareMetadata(java.util.Map meta)voidHubActor. declareSubscriptions(java.lang.String privateKey, java.util.Map subs)Declares subscription information for the calling client.voidHubXmlRpcHandler.HubActorImpl. declareSubscriptions(java.lang.String privateKey, java.util.Map subs)voidXmlRpcHubConnection. declareSubscriptions(java.util.Map subs)private voidXmlRpcCallableClient. exec(java.lang.String methodName, java.lang.Object[] params)Makes an XML-RPC call to the SAMP callable client represented by this receiver.java.lang.ObjectXmlRpcHubConnection. exec(java.lang.String methodName, java.lang.Object[] params)Makes an XML-RPC call to the SAMP hub represented by this connection.private HubConnectionHubXmlRpcHandler.HubActorImpl. getConnection(java.lang.String privateKey)Returns the HubConnection associated with a private key used by this hub actor.java.util.MapHubActor. getMetadata(java.lang.String privateKey, java.lang.String clientId)Returns metadata for a given client.java.util.MapHubXmlRpcHandler.HubActorImpl. getMetadata(java.lang.String privateKey, java.lang.String clientId)MetadataXmlRpcHubConnection. getMetadata(java.lang.String clientId)java.util.ListHubActor. getRegisteredClients(java.lang.String privateKey)Returns a list of the public-ids of all currently registered clients.java.util.ListHubXmlRpcHandler.HubActorImpl. getRegisteredClients(java.lang.String privateKey)java.lang.String[]XmlRpcHubConnection. getRegisteredClients()java.util.MapHubActor. getSubscribedClients(java.lang.String privateKey, java.lang.String mtype)Returns a map of the clients subscribed to a given MType.java.util.MapHubXmlRpcHandler.HubActorImpl. getSubscribedClients(java.lang.String privateKey, java.lang.String mtype)java.util.MapXmlRpcHubConnection. getSubscribedClients(java.lang.String mtype)java.util.MapHubActor. getSubscriptions(java.lang.String privateKey, java.lang.String clientId)Returns subscriptions for a given client.java.util.MapHubXmlRpcHandler.HubActorImpl. getSubscriptions(java.lang.String privateKey, java.lang.String clientId)SubscriptionsXmlRpcHubConnection. getSubscriptions(java.lang.String clientId)voidHubActor. notify(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg)Sends a message to a given client without wanting a response.voidHubXmlRpcHandler.HubActorImpl. notify(java.lang.String privateKey, java.lang.String recipientId, java.util.Map msg)voidXmlRpcHubConnection. notify(java.lang.String recipientId, java.util.Map msg)java.util.ListHubActor. notifyAll(java.lang.String privateKey, java.util.Map msg)Sends a message to all subscribed clients without wanting a response.java.util.ListHubXmlRpcHandler.HubActorImpl. notifyAll(java.lang.String privateKey, java.util.Map msg)java.util.ListXmlRpcHubConnection. notifyAll(java.util.Map msg)voidHubActor. ping()Throws an exception if service is not operating.voidHubActor. ping(java.lang.String privateKey)Throws an exception if service is not operating.voidHubXmlRpcHandler.HubActorImpl. ping()voidHubXmlRpcHandler.HubActorImpl. ping(java.lang.String privateKey)voidXmlRpcHubConnection. ping()java.lang.ObjectXmlRpcHubConnection. rawExec(java.lang.String fqName, java.util.List paramList)Actually makes an XML-RPC call to the SAMP hub represented by this connection.voidXmlRpcCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)voidXmlRpcCallableClient. receiveNotification(java.lang.String senderId, Message msg)voidXmlRpcCallableClient. receiveResponse(java.lang.String responderId, java.lang.String msgTag, Response response)java.util.MapHubActor. register(java.lang.String secret)Registers a new client and returns a map with registration information.java.util.MapHubXmlRpcHandler.HubActorImpl. register(java.lang.String secret)HubConnectionStandardClientProfile. register()voidHubActor. reply(java.lang.String privateKey, java.lang.String msgId, java.util.Map response)Responds to a previously sent message.voidHubXmlRpcHandler.HubActorImpl. reply(java.lang.String privateKey, java.lang.String msgId, java.util.Map response)voidXmlRpcHubConnection. reply(java.lang.String msgId, java.util.Map response)voidStandardHubConnection. setCallable(CallableClient callable)voidHubActor. setXmlrpcCallback(java.lang.String privateKey, java.lang.String url)Sets the XML-RPC URL to use for callbacks for a callable client.voidHubXmlRpcHandler.HubActorImpl. setXmlrpcCallback(java.lang.String privateKey, java.lang.String surl)voidHubActor. unregister(java.lang.String privateKey)Unregisters a registered client.voidHubXmlRpcHandler.HubActorImpl. unregister(java.lang.String privateKey)voidStandardHubConnection. unregister()voidXmlRpcHubConnection. unregister()Constructors in org.astrogrid.samp.xmlrpc that throw SampException Constructor Description StandardHubConnection(SampXmlRpcClient xClient, SampXmlRpcServerFactory serverFactory, java.lang.String secret)Constructor.XmlRpcHubConnection(SampXmlRpcClient xClient, java.lang.String prefix, java.util.List registerArgs)Constructor.
-