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 MessageMessage. addParam(java.lang.String name, java.lang.Object value)Sets the value for a single entry in this message'ssamp.paramsmap.static MessageMessage. 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.MapAbstractMessageHandler. processCall(HubConnection connection, java.lang.String senderId, Message message)Implements message processing.voidAbstractMessageHandler. 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.voidCallableClient. receiveCall(java.lang.String senderId, java.lang.String msgId, Message message)Receives a message for which a response is required.voidMessageHandler. receiveCall(HubConnection connection, java.lang.String senderId, java.lang.String msgId, Message message)Processes a message which does require a response.voidAbstractMessageHandler. 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.voidCallableClient. receiveNotification(java.lang.String senderId, Message message)Receives a message for which no response is required.voidMessageHandler. 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 MessageTransmission. getMessage()Returns the message which was sent.Methods in org.astrogrid.samp.gui with parameters of type Message Modifier and Type Method Description protected ResultHandlerAbstractCallActionManager. 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 voidNotifyActionManager. 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 voidCalculator. receiveCall(java.lang.String senderId, java.lang.String msgId, Message msg)voidCalculator. 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 MessageResourceType. createMessage(java.net.URL url)Returns a Message object that will forward a given URL to SAMP clients.
-