Uses of Interface
org.astrogrid.samp.client.HubConnection
-
Packages that use HubConnection Package Description 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.client
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 voidHubConnector. configureConnection(HubConnection connection)Configures a connection with a hub in accordance with the state of this object.abstract java.util.MapAbstractMessageHandler. processCall(HubConnection connection, java.lang.String senderId, Message message)Implements message processing.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.voidResponseHandler. receiveResponse(HubConnection connection, java.lang.String responderId, java.lang.String msgTag, Response response)Processes a response to an earlier message. -
Uses of HubConnection in org.astrogrid.samp.gui
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. -
Uses of HubConnection in org.astrogrid.samp.hub
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. -
Uses of HubConnection in org.astrogrid.samp.test
Methods in org.astrogrid.samp.test that return HubConnection Modifier and Type Method Description HubConnectionCalculator. getConnection()Returns the hub connection used by this client.Constructors in org.astrogrid.samp.test with parameters of type HubConnection Constructor Description Calculator(HubConnection connection, java.util.Random random)Constructor. -
Uses of HubConnection in org.astrogrid.samp.web
Methods in org.astrogrid.samp.web that return HubConnection Modifier and Type Method Description HubConnectionWebClientProfile. register() -
Uses of HubConnection in org.astrogrid.samp.xmlrpc
Classes in org.astrogrid.samp.xmlrpc that implement HubConnection Modifier and Type Class Description classXmlRpcHubConnectionPartial HubConnection implementation based on XML-RPC.Methods in org.astrogrid.samp.xmlrpc that return HubConnection Modifier and Type Method Description HubConnectionStandardClientProfile. register()
-