Package | Description |
---|---|
org.astrogrid.samp |
Classes common to SAMP hub and client code.
|
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.xmlrpc |
Classes relating to Standard Profile and XML-RPC pluggable implementation layer.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
Response |
HubConnector.callAndWait(String recipientId,
Map msg,
int timeout)
Sends a message synchronously to a client, waiting for the response.
|
Response |
HubConnection.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 by
receiveCall to create a success
response from the result of calling processCall . |
Modifier and Type | Method and Description |
---|---|
void |
ResponseHandler.receiveResponse(HubConnection connection,
String responderId,
String msgTag,
Response response)
Processes a response to an earlier message.
|
void |
CallableClient.receiveResponse(String responderId,
String msgTag,
Response response)
Receives a response to a message previously sent by this client.
|
void |
LogResultHandler.result(Client client,
Response response) |
void |
ResultHandler.result(Client responder,
Response response)
Called when a response is received from a client to which the message
was sent.
|
Modifier and Type | Method and Description |
---|---|
Response |
Transmission.getResponse()
Returns the response for this transmission.
|
Modifier and Type | Method and Description |
---|---|
void |
PopupResultHandler.result(Client client,
Response response) |
void |
Transmission.setResponse(Response response)
Sets the response for this transmission.
|
Modifier and Type | Method and Description |
---|---|
protected Response |
BasicHubService.callAndWait(HubClient caller,
String recipientId,
Map message,
int timeout)
Does the work for the
callAndWait method of connections
registered with this service. |
Modifier and Type | Method and Description |
---|---|
void |
Calculator.receiveResponse(String senderId,
String msgTag,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
XmlRpcHubConnection.callAndWait(String recipientId,
Map msg,
int timeout) |
Copyright © 2008–2024. All rights reserved.