Package | Description |
---|---|
org.astrogrid.samp |
Classes common to SAMP hub and client code.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static Response |
Response.asResponse(java.util.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(java.util.Map result)
Returns a new response which is a success.
|
Modifier and Type | Method and Description |
---|---|
void |
ProxyManager.ProxyCallableClient.receiveResponse(java.lang.String remoteResponderId,
java.lang.String remoteMsgTag,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
HubConnector.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout)
Sends a message synchronously to a client, waiting for the response.
|
Response |
HubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout)
Sends a message synchronously to a client, waiting for the response.
|
protected Response |
AbstractMessageHandler.createResponse(java.util.Map processOutput)
Invoked by
receiveCall to create a success
response from the result of calling processCall . |
Modifier and Type | Method and Description |
---|---|
void |
HubConnector.CallItem.addResponse(java.lang.String responderId,
Response response)
Take delivery of a response object.
|
private void |
HubConnector.CallItem.processResponse(java.lang.String responderId,
Response response)
Process a response when we have both the list of recipients
and the response itself.
|
void |
HubConnector.CallHandler.receiveResponse(HubConnection connection,
java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
ResponseHandler.receiveResponse(HubConnection connection,
java.lang.String responderId,
java.lang.String msgTag,
Response response)
Processes a response to an earlier message.
|
void |
HubConnector.ConnectorCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
CallableClient.receiveResponse(java.lang.String responderId,
java.lang.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 | Field and Description |
---|---|
(package private) Response |
PopupResultHandler.ClientHandler.response_ |
private Response |
Transmission.response_ |
Modifier and Type | Method and Description |
---|---|
Response |
WrapperHubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout) |
Response |
MessageTrackerHubConnector.MessageTrackerHubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout) |
Response |
Transmission.getResponse()
Returns the response for this transmission.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageTrackerHubConnector.CallAllHandler.addResponse(java.lang.String responderId,
Response response)
Supplies a response to the callAll invocation handled by this object.
|
private void |
AbstractCallActionManager.CallResponseHandler.processResponse(java.lang.String tag,
AbstractCallActionManager.TagInfo info,
java.lang.String responderId,
Response response)
Does the work of passing on a received response to a registered
result handler.
|
private void |
MessageTrackerHubConnector.CallAllHandler.processResponse(java.lang.String responderId,
Response response)
Does the work of passing a received response to the relevant
member of the transmission list.
|
void |
AbstractCallActionManager.CallResponseHandler.receiveResponse(HubConnection connection,
java.lang.String responderId,
java.lang.String tag,
Response response) |
void |
MessageTrackerHubService.MessageTrackerCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
MessageTrackerHubConnector.MessageTrackerCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
PopupResultHandler.result(Client client,
Response response) |
void |
PopupResultHandler.ClientHandler.result(Response response)
Updates status according to a received response.
|
private void |
MessageTrackerHubConnector.scheduleSetResponse(Transmission trans,
Response response)
Schedules a response to be registered for a previously added
transmission.
|
void |
Transmission.setResponse(Response response)
Sets the response for this transmission.
|
Modifier and Type | Method and Description |
---|---|
protected Response |
BasicHubService.callAndWait(HubClient caller,
java.lang.String recipientId,
java.util.Map message,
int timeout)
Does the work for the
callAndWait method of connections
registered with this service. |
Response |
WrapperHubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout) |
Modifier and Type | Method and Description |
---|---|
void |
HubClient.NoCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgId,
Response response) |
void |
HubCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
ReplyCollector.getReply(java.lang.String responderId,
java.lang.String msgTag)
Gets the reply to a message sent earlier
using
call or callAll . |
Response |
ReplyCollector.waitForReply(java.lang.String responderId,
java.lang.String msgTag)
Waits for a reply to a message sent earlier
using
call or callAll . |
Modifier and Type | Method and Description |
---|---|
void |
Calculator.CalcRequest.checkResponse(Response response)
Checks that the given response is correct for this request.
|
void |
Calculator.receiveResponse(java.lang.String senderId,
java.lang.String msgTag,
Response response) |
void |
MessageSender.AsynchSender.Collector.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
ReplyCollector.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
HubTester.ClientWatcher.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
UrlTrackerHubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout) |
Modifier and Type | Method and Description |
---|---|
void |
WebCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
void |
UrlTrackerHubConnection.UrlTrackerCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |
Modifier and Type | Method and Description |
---|---|
Response |
XmlRpcHubConnection.callAndWait(java.lang.String recipientId,
java.util.Map msg,
int timeout) |
Modifier and Type | Method and Description |
---|---|
void |
XmlRpcCallableClient.receiveResponse(java.lang.String responderId,
java.lang.String msgTag,
Response response) |