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.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. -
-
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.bridge
Methods in org.astrogrid.samp.bridge with parameters of type Client Modifier and Type Method Description voidProxyManager.ProxyManagerClientSet. addClient(Client client)private MetadataProxyManager. getProxyMetadata(Client localClient)Returns the metadata to use for the remote proxy of a local client.private SubscriptionsProxyManager. getProxySubscriptions(Client client)Returns the subscriptions to use for the remote proxy of a local client.private booleanProxyManager. isProxiedClient(Client client)Determines whether a local client is a genuine third party client which requires a remote proxy.private booleanProxyManager. isProxy(Client client, ProxyManager remoteManager)Determines whether a given local client is a proxy controlled by a given remote ProxyManager.private voidProxyManager. localClientAdded(Client client)Invoked when a client is added to the local hub.private voidProxyManager. localClientRemoved(Client client)Invoked when a client is removed from the local hub.private voidProxyManager. localClientUpdated(Client client, boolean metaChanged, boolean subsChanged)Invoked when information (metadata or subscriptions) have been updated for a client on the local hub.voidProxyManager.ProxyManagerClientSet. removeClient(Client client)voidProxyManager.ProxyManagerClientSet. setClients(Client[] clients)voidProxyManager.ProxyManagerClientSet. updateClient(Client client, boolean metaChanged, boolean subsChanged)Constructors in org.astrogrid.samp.bridge with parameters of type Client Constructor Description ProxyCallableClient(Client localClient, HubConnection remoteProxy, ProxyManager remoteManager)Constructor. -
Uses of Client in org.astrogrid.samp.client
Classes in org.astrogrid.samp.client that implement Client Modifier and Type Class Description private static classClientTracker.TrackedClientClient implementation used to populate internal data structures.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
Classes in org.astrogrid.samp.gui that implement Client Modifier and Type Class Description private classMessageTrackerHubService.MessageTrackerHubClientHubClient class used by this HubService implementation.Fields in org.astrogrid.samp.gui declared as Client Modifier and Type Field Description private ClientAbstractCallActionManager.SendAction. client_private ClientClientPanel. client_(package private) ClientMessageTrackerListCellRenderer.IconListModel. client_private ClientNotifyActionManager.SendAction. client_private ClientTransmission. receiver_private ClientMessageTrackerHubConnector.MessageTrackerHubConnection. selfClient_private ClientTransmission. sender_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.private ClientGuiHubService. getSelectedClient()Returns the client object currently selected in the GUI, if any.private ClientMessageTrackerHubConnector.MessageTrackerCallableClient. getSelfClient()Returns a Client object for use in Transmission objects which represents this connection's owner.(package private) ClientMessageTrackerHubConnector.MessageTrackerHubConnection. getSelfClient()Returns a Client object for use in Transmission objects which represents this connection's owner.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 voidGuiHubConnector.ListModelTrackedClientSet. addClient(Client client)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.private static java.lang.StringTransmissionPanel. formatClient(Client client)Formats a client as a string.private static java.lang.ObjectMessageTrackerHubService. getCallKey(Client receiver, java.lang.String msgId)Returns a key for use in the call map.javax.swing.IconIconStore. getIcon(Client client)Returns the icon associated with a given client.protected java.lang.StringClientListCellRenderer. getLabel(Client client)Attempts to return a human-readable text label for the given client.javax.swing.ListModelClientTransmissionHolder. getRxListModel(Client client)Returns a list model containing messages received by 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.ListModelClientTransmissionHolder. getTxListModel(Client client)Returns a list model containing messages sent by a given 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.CallResponseHandler. registerHandler(java.lang.String tag, Client[] recipients, ResultHandler handler)Registers a result handler to handle results corresponding to a message tag.voidAbstractCallActionManager. registerHandler(java.lang.String tag, Client[] recipients, ResultHandler handler)Registers a result handler to handle results corresponding to a message tag.voidGuiHubConnector.ListModelTrackedClientSet. removeClient(Client client)voidPopupResultHandler. result(Client client, Response response)voidClientPanel. setClient(Client client)Updates this component to display the current state of a given client.voidMessageTrackerListCellRenderer.IconListModel. setClient(Client client)Sets the client whose transmissions this list will represent.voidGuiHubConnector.ListModelTrackedClientSet. setClients(Client[] clients)voidGuiHubConnector.ListModelTrackedClientSet. updateClient(Client client, boolean metaChanged, boolean subsChanged)Constructors in org.astrogrid.samp.gui with parameters of type Client Constructor Description ClientHandler(Client client)Constructor.PopupResultHandler(java.awt.Component parent, java.lang.String title, Message msg, Client[] recipients, int closeDelay)Constructor.SendAction(Client client)Constructor.SendAction(Client client)Constructor.TagInfo(Client[] recipients, ResultHandler handler)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. -
Uses of Client in org.astrogrid.samp.test
Classes in org.astrogrid.samp.test that implement Client Modifier and Type Class Description private static classMessageSender.MetaClientClient implementation which may know about metadata.Fields in org.astrogrid.samp.test declared as Client Modifier and Type Field Description private Client[]HubTester. ignoreClients_
-