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.String
SampUtils. 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 void
ProxyManager.ProxyManagerClientSet. addClient(Client client)
private Metadata
ProxyManager. getProxyMetadata(Client localClient)
Returns the metadata to use for the remote proxy of a local client.private Subscriptions
ProxyManager. getProxySubscriptions(Client client)
Returns the subscriptions to use for the remote proxy of a local client.private boolean
ProxyManager. isProxiedClient(Client client)
Determines whether a local client is a genuine third party client which requires a remote proxy.private boolean
ProxyManager. isProxy(Client client, ProxyManager remoteManager)
Determines whether a given local client is a proxy controlled by a given remote ProxyManager.private void
ProxyManager. localClientAdded(Client client)
Invoked when a client is added to the local hub.private void
ProxyManager. localClientRemoved(Client client)
Invoked when a client is removed from the local hub.private void
ProxyManager. localClientUpdated(Client client, boolean metaChanged, boolean subsChanged)
Invoked when information (metadata or subscriptions) have been updated for a client on the local hub.void
ProxyManager.ProxyManagerClientSet. removeClient(Client client)
void
ProxyManager.ProxyManagerClientSet. setClients(Client[] clients)
void
ProxyManager.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 class
ClientTracker.TrackedClient
Client implementation used to populate internal data structures.Methods in org.astrogrid.samp.client with parameters of type Client Modifier and Type Method Description void
TrackedClientSet. addClient(Client client)
Adds a client to this model.void
TrackedClientSet. removeClient(Client client)
Removes a client from this model.void
LogResultHandler. result(Client client, Response response)
void
ResultHandler. result(Client responder, Response response)
Called when a response is received from a client to which the message was sent.void
TrackedClientSet. setClients(Client[] clients)
Sets the contents of this model to a given list.void
TrackedClientSet. 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 class
MessageTrackerHubService.MessageTrackerHubClient
HubClient class used by this HubService implementation.Fields in org.astrogrid.samp.gui declared as Client Modifier and Type Field Description private Client
AbstractCallActionManager.SendAction. client_
private Client
ClientPanel. client_
(package private) Client
MessageTrackerListCellRenderer.IconListModel. client_
private Client
NotifyActionManager.SendAction. client_
private Client
Transmission. receiver_
private Client
MessageTrackerHubConnector.MessageTrackerHubConnection. selfClient_
private Client
Transmission. sender_
Methods in org.astrogrid.samp.gui that return Client Modifier and Type Method Description Client
ClientPanel. getClient()
Returns the most recently displayed client.Client
Transmission. getReceiver()
Returns the client to which this transmission was sent.private Client
GuiHubService. getSelectedClient()
Returns the client object currently selected in the GUI, if any.private Client
MessageTrackerHubConnector.MessageTrackerCallableClient. getSelfClient()
Returns a Client object for use in Transmission objects which represents this connection's owner.(package private) Client
MessageTrackerHubConnector.MessageTrackerHubConnection. getSelfClient()
Returns a Client object for use in Transmission objects which represents this connection's owner.Client
Transmission. getSender()
Returns the client which sent this transmission.Methods in org.astrogrid.samp.gui with parameters of type Client Modifier and Type Method Description void
GuiHubConnector.ListModelTrackedClientSet. addClient(Client client)
protected abstract java.util.Map
AbstractCallActionManager. createMessage(Client client)
Returns the Message object which is to be transmitted by this manager to a given client.protected abstract java.util.Map
IndividualCallActionManager. createMessage(Client client)
protected java.util.Map
UniformCallActionManager. createMessage(Client client)
Implemented simply by callingUniformCallActionManager.createMessage()
.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.private static java.lang.String
TransmissionPanel. formatClient(Client client)
Formats a client as a string.private static java.lang.Object
MessageTrackerHubService. getCallKey(Client receiver, java.lang.String msgId)
Returns a key for use in the call map.javax.swing.Icon
IconStore. getIcon(Client client)
Returns the icon associated with a given client.protected java.lang.String
ClientListCellRenderer. getLabel(Client client)
Attempts to return a human-readable text label for the given client.javax.swing.ListModel
ClientTransmissionHolder. getRxListModel(Client client)
Returns a list model containing messages received by a given client.javax.swing.ListModel
MessageTrackerHubConnector. getRxListModel(Client client)
javax.swing.ListModel
MessageTrackerHubService. getRxListModel(Client client)
Returns a ListModel representing the pending messages received by a given client.protected javax.swing.Action
AbstractCallActionManager. getSendAction(Client client)
protected javax.swing.Action
NotifyActionManager. getSendAction(Client client)
protected abstract javax.swing.Action
SendActionManager. getSendAction(Client client)
Returns an action which can perform a single-client send associated with this object.javax.swing.Action
UniformCallActionManager. getSendAction(Client client)
javax.swing.ListModel
ClientTransmissionHolder. getTxListModel(Client client)
Returns a list model containing messages sent by a given client.javax.swing.ListModel
MessageTrackerHubConnector. getTxListModel(Client client)
javax.swing.ListModel
MessageTrackerHubService. getTxListModel(Client client)
Returns a ListModel representing the pending messages sent from a given client.protected abstract boolean
SelectiveClientListModel. isIncluded(Client client)
Implement this method to determine which clients are included in this list.protected boolean
SubscribedClientListModel. isIncluded(Client client)
Returns true ifclient
is subscribed to one of this model's MTypes.protected void
NotifyActionManager. messageSent(HubConnection connection, Message msg, Client[] recipients)
Called when a message has been sent by this object.void
AbstractCallActionManager.CallResponseHandler. registerHandler(java.lang.String tag, Client[] recipients, ResultHandler handler)
Registers a result handler to handle results corresponding to a message tag.void
AbstractCallActionManager. registerHandler(java.lang.String tag, Client[] recipients, ResultHandler handler)
Registers a result handler to handle results corresponding to a message tag.void
GuiHubConnector.ListModelTrackedClientSet. removeClient(Client client)
void
PopupResultHandler. result(Client client, Response response)
void
ClientPanel. setClient(Client client)
Updates this component to display the current state of a given client.void
MessageTrackerListCellRenderer.IconListModel. setClient(Client client)
Sets the client whose transmissions this list will represent.void
GuiHubConnector.ListModelTrackedClientSet. setClients(Client[] clients)
void
GuiHubConnector.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 class
HubClient
Represents 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 class
MessageSender.MetaClient
Client implementation which may know about metadata.Fields in org.astrogrid.samp.test declared as Client Modifier and Type Field Description private Client[]
HubTester. ignoreClients_
-