Uses of Class
org.astrogrid.samp.Response
Packages that use Response
Package
Description
Classes common to SAMP hub and client code.
Classes required only for SAMP clients.
Classes required only for graphical components based on SAMP classes.
Classes required only for running a SAMP hub.
Classes for testing.
Classes relating to Standard Profile and XML-RPC pluggable implementation layer.
-
Uses of Response in org.astrogrid.samp
Methods in org.astrogrid.samp that return ResponseModifier and TypeMethodDescriptionstatic Response
Response.asResponse
(Map map) Returns a map as a Response object.static Response
Response.createErrorResponse
(ErrInfo errinfo) Returns a new response which is an error.static Response
Response.createSuccessResponse
(Map result) Returns a new response which is a success. -
Uses of Response in org.astrogrid.samp.client
Methods in org.astrogrid.samp.client that return ResponseModifier and TypeMethodDescriptionHubConnection.callAndWait
(String recipientId, Map msg, int timeout) Sends a message synchronously to a client, waiting for the response.HubConnector.callAndWait
(String recipientId, Map msg, int timeout) Sends a message synchronously to a client, waiting for the response.protected Response
AbstractMessageHandler.createResponse
(Map processOutput) Invoked byreceiveCall
to create a success response from the result of callingprocessCall
.Methods in org.astrogrid.samp.client with parameters of type ResponseModifier and TypeMethodDescriptionvoid
CallableClient.receiveResponse
(String responderId, String msgTag, Response response) Receives a response to a message previously sent by this client.void
ResponseHandler.receiveResponse
(HubConnection connection, String responderId, String msgTag, Response response) Processes a response to an earlier message.void
void
Called when a response is received from a client to which the message was sent. -
Uses of Response in org.astrogrid.samp.gui
Methods in org.astrogrid.samp.gui that return ResponseModifier and TypeMethodDescriptionTransmission.getResponse()
Returns the response for this transmission.Methods in org.astrogrid.samp.gui with parameters of type ResponseModifier and TypeMethodDescriptionvoid
void
Transmission.setResponse
(Response response) Sets the response for this transmission. -
Uses of Response in org.astrogrid.samp.hub
Methods in org.astrogrid.samp.hub that return ResponseModifier and TypeMethodDescriptionprotected Response
BasicHubService.callAndWait
(HubClient caller, String recipientId, Map message, int timeout) Does the work for thecallAndWait
method of connections registered with this service. -
Uses of Response in org.astrogrid.samp.test
Methods in org.astrogrid.samp.test with parameters of type ResponseModifier and TypeMethodDescriptionvoid
Calculator.receiveResponse
(String senderId, String msgTag, Response response) -
Uses of Response in org.astrogrid.samp.xmlrpc
Methods in org.astrogrid.samp.xmlrpc that return ResponseModifier and TypeMethodDescriptionXmlRpcHubConnection.callAndWait
(String recipientId, Map msg, int timeout)