Uses of Class
org.astrogrid.samp.Message
-
Packages that use Message 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. -
-
Uses of Message in org.astrogrid.samp
Methods in org.astrogrid.samp that return Message Modifier and Type Method Description Message
Message. addParam(java.lang.String name, java.lang.Object value)
Sets the value for a single entry in this message'ssamp.params
map.static Message
Message. asMessage(java.util.Map map)
Returns a given map as a Message object. -
Uses of Message in org.astrogrid.samp.bridge
Methods in org.astrogrid.samp.bridge with parameters of type Message Modifier and Type Method Description private void
ProxyManager.ProxyCallableClient. proxyProcessMessage(java.lang.String remoteSenderId, Message msg)
Performs housekeeping tasks for an incoming message if any.void
ProxyManager.ProxyCallableClient. receiveCall(java.lang.String remoteSenderId, java.lang.String remoteMsgId, Message msg)
void
ProxyManager.ProxyCallableClient. receiveNotification(java.lang.String remoteSenderId, Message msg)
-
Uses of Message in org.astrogrid.samp.client
Methods in org.astrogrid.samp.client with parameters of type Message Modifier and Type Method Description abstract java.util.Map
AbstractMessageHandler. processCall(HubConnection connection, java.lang.String senderId, Message message)
Implements message processing.java.util.Map
ClientTracker. processCall(HubConnection connection, java.lang.String senderId, Message message)
void
AbstractMessageHandler. 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.void
CallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)
Receives a message for which a response is required.void
HubConnector.ConnectorCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)
void
MessageHandler. receiveCall(HubConnection connection, java.lang.String senderId, java.lang.String msgId, Message message)
Processes a message which does require a response.void
AbstractMessageHandler. 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.void
CallableClient. receiveNotification(java.lang.String senderId, Message message)
Receives a message for which no response is required.void
HubConnector.ConnectorCallableClient. receiveNotification(java.lang.String senderId, Message message)
void
MessageHandler. receiveNotification(HubConnection connection, java.lang.String senderId, Message message)
Processes a message which does not require a response.Constructors in org.astrogrid.samp.client with parameters of type Message Constructor Description LogResultHandler(Message msg)
Constructor. -
Uses of Message in org.astrogrid.samp.gui
Fields in org.astrogrid.samp.gui declared as Message Modifier and Type Field Description private Message
HubClientPopupListener.CallAction. msg_
private Message
Transmission. msg_
private static Message
HubClientPopupListener. PING_MSG
Message which does a ping.Methods in org.astrogrid.samp.gui that return Message Modifier and Type Method Description Message
Transmission. getMessage()
Returns the message which was sent.Methods in org.astrogrid.samp.gui with parameters of type Message Modifier and Type Method Description protected ResultHandler
AbstractCallActionManager. 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 void
NotifyActionManager. messageSent(HubConnection connection, Message msg, Client[] recipients)
Called when a message has been sent by this object.void
MessageTrackerHubConnector.MessageTrackerCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
MessageTrackerHubService.MessageTrackerCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
MessageTrackerHubConnector.MessageTrackerCallableClient. receiveNotification(java.lang.String senderId, Message msg)
void
MessageTrackerHubService.MessageTrackerCallableClient. receiveNotification(java.lang.String senderId, Message msg)
Constructors in org.astrogrid.samp.gui with parameters of type Message Constructor Description CallAction(java.awt.Component parent, HubClient client, java.lang.String name, Message msg, boolean isCall)
Constructor.PopupResultHandler(java.awt.Component parent, java.lang.String title, Message msg, Client[] recipients, int closeDelay)
Constructor.Transmission(Client sender, Client receiver, Message msg, java.lang.String msgTag, java.lang.String msgId)
Constructor. -
Uses of Message in org.astrogrid.samp.hub
Methods in org.astrogrid.samp.hub with parameters of type Message Modifier and Type Method Description private void
BasicHubService. disconnect(java.lang.String[] clientIds, Message discoMsg)
Forcibly disconnects a number of clients for the same reason.private void
BasicHubService. hubEvent(Message msg)
Broadcast an event message to all subscribed clients.(package private) void
FacadeHubService.FacadeHubConnection. hubEvent(Message msg)
Sends a given message as a notification, as if from the hub, to this connection if it is able to receive it.private void
FacadeHubService. hubEvent(Message msg)
Sends a given message by notification, as if from the hub, to all the clients which have registered through this service.java.util.Map
MetaQueryMessageHandler. processCall(HubConnection conn, java.lang.String senderId, Message msg)
java.util.Map
PingMessageHandler. processCall(HubConnection conn, java.lang.String senderId, Message msg)
void
HubCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
HubClient.NoCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)
void
HubCallableClient. receiveNotification(java.lang.String senderId, Message msg)
void
HubClient.NoCallableClient. receiveNotification(java.lang.String senderId, Message message)
-
Uses of Message in org.astrogrid.samp.test
Methods in org.astrogrid.samp.test that return Message Modifier and Type Method Description Message
Calculator.CalcRequest. getMessage()
Returns a Message object corresponding to this request.Methods in org.astrogrid.samp.test with parameters of type Message Modifier and Type Method Description java.util.Map
MessageSender.AsynchSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)
(package private) abstract java.util.Map
MessageSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)
Sends a message to a given list of recipients.java.util.Map
MessageSender.NotifySender. getResponses(HubConnection connection, Message msg, java.lang.String[] recipientIds)
java.util.Map
MessageSender.SynchSender. getResponses(HubConnection connection, Message msg, java.lang.String[] recIds)
private void
Snooper. log(java.lang.String senderId, Message msg, java.lang.String msgId)
Logs a received message.private java.util.Map
Calculator. processCall(java.lang.String senderId, Message msg)
Does the work for both the receiveNotify and receiveCall methods.private java.util.Map
HubTester.TestCallableClient. processCall(java.lang.String senderId, Message msg)
Do the work of responding to a given SAMP message.private void
HubTester.ClientWatcher. processMessage(java.lang.String senderId, Message msg)
void
Calculator. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
HubTester.ClientWatcher. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
HubTester.TestCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
MessageSender.AsynchSender.Collector. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
Calculator. receiveNotification(java.lang.String senderId, Message msg)
void
HubTester.ClientWatcher. receiveNotification(java.lang.String senderId, Message msg)
void
HubTester.TestCallableClient. receiveNotification(java.lang.String senderId, Message msg)
void
MessageSender.AsynchSender.Collector. receiveNotification(java.lang.String senderId, Message msg)
(package private) void
MessageSender. 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. -
Uses of Message in org.astrogrid.samp.web
Methods in org.astrogrid.samp.web with parameters of type Message Modifier and Type Method Description void
UrlTrackerHubConnection.UrlTrackerCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
WebCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)
void
UrlTrackerHubConnection.UrlTrackerCallableClient. receiveNotification(java.lang.String senderId, Message msg)
void
WebCallableClient. receiveNotification(java.lang.String senderId, Message message)
-
Uses of Message in org.astrogrid.samp.xmlrpc
Methods in org.astrogrid.samp.xmlrpc with parameters of type Message Modifier and Type Method Description void
XmlRpcCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
XmlRpcCallableClient. receiveNotification(java.lang.String senderId, Message msg)
-