Uses of Interface
org.astrogrid.samp.Client
-
Packages that use Client 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. -
-
Uses of Client in org.astrogrid.samp
Methods in org.astrogrid.samp with parameters of type Client Modifier and Type Method Description static java.lang.StringSampUtils. toString(Client client)Returns a string representation of a client object. -
Uses of Client in org.astrogrid.samp.client
Methods in org.astrogrid.samp.client with parameters of type Client Modifier and Type Method Description voidTrackedClientSet. addClient(Client client)Adds a client to this model.voidTrackedClientSet. removeClient(Client client)Removes a client from this model.voidLogResultHandler. result(Client client, Response response)voidResultHandler. result(Client responder, Response response)Called when a response is received from a client to which the message was sent.voidTrackedClientSet. setClients(Client[] clients)Sets the contents of this model to a given list.voidTrackedClientSet. updateClient(Client client, boolean metaChanged, boolean subsChanged)Notifies listeners that a given client's attributes (may) have changed. -
Uses of Client in org.astrogrid.samp.gui
Methods in org.astrogrid.samp.gui that return Client Modifier and Type Method Description ClientClientPanel. getClient()Returns the most recently displayed client.ClientTransmission. getReceiver()Returns the client to which this transmission was sent.ClientTransmission. getSender()Returns the client which sent this transmission.Methods in org.astrogrid.samp.gui with parameters of type Client Modifier and Type Method Description protected abstract java.util.MapAbstractCallActionManager. createMessage(Client client)Returns the Message object which is to be transmitted by this manager to a given client.protected abstract java.util.MapIndividualCallActionManager. createMessage(Client client)protected java.util.MapUniformCallActionManager. createMessage(Client client)Implemented simply by callingUniformCallActionManager.createMessage().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.javax.swing.IconIconStore. getIcon(Client client)Returns the icon associated with a given client.javax.swing.ListModelMessageTrackerHubConnector. getRxListModel(Client client)javax.swing.ListModelMessageTrackerHubService. getRxListModel(Client client)Returns a ListModel representing the pending messages received by a given client.protected javax.swing.ActionAbstractCallActionManager. getSendAction(Client client)protected javax.swing.ActionNotifyActionManager. getSendAction(Client client)protected abstract javax.swing.ActionSendActionManager. getSendAction(Client client)Returns an action which can perform a single-client send associated with this object.javax.swing.ActionUniformCallActionManager. getSendAction(Client client)javax.swing.ListModelMessageTrackerHubConnector. getTxListModel(Client client)javax.swing.ListModelMessageTrackerHubService. getTxListModel(Client client)Returns a ListModel representing the pending messages sent from a given client.protected abstract booleanSelectiveClientListModel. isIncluded(Client client)Implement this method to determine which clients are included in this list.protected booleanSubscribedClientListModel. isIncluded(Client client)Returns true ifclientis subscribed to one of this model's MTypes.protected voidNotifyActionManager. messageSent(HubConnection connection, Message msg, Client[] recipients)Called when a message has been sent by this object.voidAbstractCallActionManager. registerHandler(java.lang.String tag, Client[] recipients, ResultHandler handler)Registers a result handler to handle results corresponding to a message tag.voidPopupResultHandler. result(Client client, Response response)voidClientPanel. setClient(Client client)Updates this component to display the current state of a given client.Constructors in org.astrogrid.samp.gui with parameters of type Client 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 Client in org.astrogrid.samp.hub
Classes in org.astrogrid.samp.hub that implement Client Modifier and Type Class Description classHubClientRepresents a client registered with a hub.
-