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.client Classes required only for SAMP clients.org.astrogrid.samp.gui Classes required only for graphical components based on SAMP classes.org.astrogrid.samp.test Classes for testing.org.astrogrid.samp.util -
-
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.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.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
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
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
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.Constructors in org.astrogrid.samp.gui with parameters of type Message Constructor Description 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.test
Methods in org.astrogrid.samp.test with parameters of type Message Modifier and Type Method Description void
Calculator. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)
void
Calculator. receiveNotification(java.lang.String senderId, Message msg)
-
Uses of Message in org.astrogrid.samp.util
Methods in org.astrogrid.samp.util that return Message Modifier and Type Method Description Message
ResourceType. createMessage(java.net.URL url)
Returns a Message object that will forward a given URL to SAMP clients.
-