Uses of Interface
org.astrogrid.samp.client.HubConnection
-
Packages that use HubConnection 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 HubConnection in org.astrogrid.samp.bridge
Fields in org.astrogrid.samp.bridge declared as HubConnection Modifier and Type Field Description private HubConnectionProxyManager.ProxyCallableClient. remoteProxy_Methods in org.astrogrid.samp.bridge that return HubConnection Modifier and Type Method Description private HubConnectionProxyManager.ProxyCallableClient. getLocalProxy(java.lang.String remoteClientId)Returns the hub connection for the proxy on the local hub which corresponds to a given remote client.private HubConnectionProxyManager. getProxyConnection(ProxyManager remoteManager, java.lang.String localClientId)Returns the connection on the hub associated with a remote proxy manager which is the proxy for a given local client.Constructors in org.astrogrid.samp.bridge with parameters of type HubConnection Constructor Description ProxyCallableClient(Client localClient, HubConnection remoteProxy, ProxyManager remoteManager)Constructor. -
Uses of HubConnection in org.astrogrid.samp.client
Fields in org.astrogrid.samp.client declared as HubConnection Modifier and Type Field Description private HubConnectionHubConnector.ConnectorCallableClient. conn_private HubConnectionHubConnector. connection_Methods in org.astrogrid.samp.client that return HubConnection Modifier and Type Method Description protected HubConnectionHubConnector. createConnection()Invoked by this class to create a hub connection.HubConnectionHubConnector. getConnection()If necessary attempts to acquire, and returns, a connection to a running hub.HubConnectionClientProfile. register()Attempts to register with a SAMP hub and return a corresponding connection object.Methods in org.astrogrid.samp.client with parameters of type HubConnection Modifier and Type Method Description private voidHubConnector. checkHubMessage(HubConnection connection, java.lang.String senderId, java.lang.String mtype)Performs sanity checking on a message which is normally expected to be sent only by the hub client itself.voidHubConnector. configureConnection(HubConnection connection)Configures a connection with a hub in accordance with the state of this object.voidClientTracker. initialise(HubConnection connection)Initialises this tracker from a hub connection.private voidClientTracker. performClientOperation(ClientTracker.ClientOperation op, HubConnection connection)Performs an operation on a ClientOperation object.abstract java.util.MapAbstractMessageHandler. processCall(HubConnection connection, java.lang.String senderId, Message message)Implements message processing.java.util.MapClientTracker. processCall(HubConnection connection, java.lang.String senderId, Message message)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.voidMessageHandler. receiveCall(HubConnection connection, java.lang.String senderId, java.lang.String msgId, Message message)Processes a message which does require a response.voidAbstractMessageHandler. receiveNotification(HubConnection connection, java.lang.String senderId, Message message)CallsAbstractMessageHandler.processCall(org.astrogrid.samp.client.HubConnection, java.lang.String, org.astrogrid.samp.Message)and discards the result.voidMessageHandler. receiveNotification(HubConnection connection, java.lang.String senderId, Message message)Processes a message which does not require a response.voidHubConnector.CallHandler. receiveResponse(HubConnection connection, java.lang.String responderId, java.lang.String msgTag, Response response)voidResponseHandler. receiveResponse(HubConnection connection, java.lang.String responderId, java.lang.String msgTag, Response response)Processes a response to an earlier message.private voidHubConnector.ConnectorCallableClient. setConnection(HubConnection connection)Sets the currently active hub connection. -
Uses of HubConnection in org.astrogrid.samp.gui
Classes in org.astrogrid.samp.gui that implement HubConnection Modifier and Type Class Description private classMessageTrackerHubConnector.MessageTrackerHubConnectionHubConnection object which intercepts calls to keep track of outgoing and incoming messages.(package private) classWrapperHubConnectionHubConnection implementation which delegates all behaviour to a base implementation.Fields in org.astrogrid.samp.gui declared as HubConnection Modifier and Type Field Description private HubConnectionWrapperHubConnection. base_Methods in org.astrogrid.samp.gui that return HubConnection Modifier and Type Method Description protected HubConnectionMessageTrackerHubConnector. createConnection()Methods in org.astrogrid.samp.gui with parameters of type HubConnection Modifier and Type Method Description protected ResultHandlerAbstractCallActionManager. createResultHandler(HubConnection connection, Message msg, Client[] recipients)Returns an object which will be informed of the results of a single- or multiple-recipient send as they arrive.protected voidNotifyActionManager. messageSent(HubConnection connection, Message msg, Client[] recipients)Called when a message has been sent by this object.voidAbstractCallActionManager.CallResponseHandler. receiveResponse(HubConnection connection, java.lang.String responderId, java.lang.String tag, Response response)Constructors in org.astrogrid.samp.gui with parameters of type HubConnection Constructor Description MessageTrackerHubConnection(HubConnection base)Constructor.WrapperHubConnection(HubConnection base) -
Uses of HubConnection in org.astrogrid.samp.hub
Classes in org.astrogrid.samp.hub that implement HubConnection Modifier and Type Class Description private static classFacadeHubService.FacadeHubConnectionUtility HubConnection class which allows hub event notifications to be sent to clients.(package private) classWrapperHubConnectionHubConnection implementation that delegates all calls to a base instance.Fields in org.astrogrid.samp.hub declared as HubConnection Modifier and Type Field Description private HubConnectionWrapperHubConnection. base_private HubConnectionHubCallableClient. connection_private HubConnectionBasicHubService. serviceClientConnection_Methods in org.astrogrid.samp.hub that return HubConnection Modifier and Type Method Description protected HubConnectionBasicHubService. createConnection(HubClient caller)Returns a new HubConnection for use by a given hub client.HubConnectionBasicHubService. getServiceConnection()Returns the HubConnection object used by the hub itself to send and receive messages.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.Methods in org.astrogrid.samp.hub with parameters of type HubConnection Modifier and Type Method Description java.util.MapMetaQueryMessageHandler. processCall(HubConnection conn, java.lang.String senderId, Message msg)java.util.MapPingMessageHandler. processCall(HubConnection conn, java.lang.String senderId, Message msg)Constructors in org.astrogrid.samp.hub with parameters of type HubConnection Constructor Description FacadeHubConnection(HubConnection base)Constructor.HubCallableClient(HubConnection connection, AbstractMessageHandler[] handlers)Constructs a HubCallableClient with a given set of handlers.WrapperHubConnection(HubConnection base)Constructor. -
Uses of HubConnection in org.astrogrid.samp.test
Fields in org.astrogrid.samp.test declared as HubConnection Modifier and Type Field Description private HubConnectionCalculator. connection_private HubConnectionHubTester.ClientWatcher. connection_private HubConnectionHubTester.TestCallableClient. connection_private HubConnectionReplyCollector. connection_Methods in org.astrogrid.samp.test that return HubConnection Modifier and Type Method Description HubConnectionCalculator. getConnection()Returns the hub connection used by this client.HubConnectionHubTester.ClientWatcher. getConnection()Returns the hub connection used by this client.private HubConnectionHubTester. register()Registers with the hub, performing various checks.Methods in org.astrogrid.samp.test with parameters of type HubConnection Modifier and Type Method Description private voidHubTester. assertTestClients(HubConnection conn, java.lang.String[] otherIds)Assert that the given list of registered clients has a certain content.java.util.MapMessageSender.AsynchSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)(package private) abstract java.util.MapMessageSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)Sends a message to a given list of recipients.java.util.MapMessageSender.NotifySender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)java.util.MapMessageSender.SynchSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recIds)private static java.lang.String[]MessageSender. namesToIds(HubConnection conn, java.lang.String[] names)Translates an array of client names to client IDs.(package private) voidMessageSender. showResults(HubConnection connection, Message msg, java.lang.String[] recipientIds, java.io.PrintStream out)Sends a message to a list of recipients and displays the results on an output stream.Constructors in org.astrogrid.samp.test with parameters of type HubConnection Constructor Description Calculator(HubConnection connection, java.util.Random random)Constructor.ClientWatcher(HubConnection connection)Constructor.MetaClient(java.lang.String id, HubConnection connection)Constructor which attempts to acquire metadata from a given hub connection.ReplyCollector(HubConnection connection)Constructor.TestCallableClient(HubConnection connection)Constructor. -
Uses of HubConnection in org.astrogrid.samp.web
Classes in org.astrogrid.samp.web that implement HubConnection Modifier and Type Class Description (package private) classUrlTrackerHubConnectionHubConnection wrapper implementation which intercepts all incoming and outgoing communications, scans them for URLs in the payload, and notifies a supplied UrlTracker object.(package private) classWebHubConnectionHubConnection implementation for the Web Profile.Fields in org.astrogrid.samp.web declared as HubConnection Modifier and Type Field Description private HubConnectionUrlTrackerHubConnection. base_(package private) HubConnectionWebHubXmlRpcHandler.Registration. connection_Methods in org.astrogrid.samp.web that return HubConnection Modifier and Type Method Description private HubConnectionWebHubXmlRpcHandler.WebHubActorImpl. getConnection(java.lang.String privateKey)Returns the connection object associated with a given private key.HubConnectionWebClientProfile. register()Constructors in org.astrogrid.samp.web with parameters of type HubConnection Constructor Description Registration(HubConnection connection)Constructor.UrlTrackerHubConnection(HubConnection base, UrlTracker urlTracker)Constructor. -
Uses of HubConnection in org.astrogrid.samp.xmlrpc
Classes in org.astrogrid.samp.xmlrpc that implement HubConnection Modifier and Type Class Description (package private) classStandardHubConnectionHubConnection implementation for the Standard Profile.classXmlRpcHubConnectionPartial HubConnection implementation based on XML-RPC.Fields in org.astrogrid.samp.xmlrpc declared as HubConnection Modifier and Type Field Description (package private) HubConnectionClientXmlRpcHandler.Entry. connection_Methods in org.astrogrid.samp.xmlrpc that return HubConnection Modifier and Type Method Description private HubConnectionHubXmlRpcHandler.HubActorImpl. getConnection(java.lang.String privateKey)Returns the HubConnection associated with a private key used by this hub actor.HubConnectionStandardClientProfile. register()Methods in org.astrogrid.samp.xmlrpc with parameters of type HubConnection Modifier and Type Method Description voidCallableClientServer. addClient(HubConnection connection, CallableClient callable)Adds a CallableClient object to this server.voidClientXmlRpcHandler. addClient(HubConnection connection, CallableClient callable)Adds a CallableClient object to this server.voidCallableClientServer. removeClient(HubConnection connection)Removes a CallableClient object from this server.voidClientXmlRpcHandler. removeClient(HubConnection connection)Removes a CallableClient object from this server.Constructors in org.astrogrid.samp.xmlrpc with parameters of type HubConnection Constructor Description Entry(HubConnection connection, CallableClient callable)Constructor.
-