Package org.astrogrid.samp.client
Classes required only for SAMP clients.
Clients will normally use a HubConnector
to keep track of connections with a SAMP hub.
However clients requiring a lower-level interface may simply use a
HubConnection
object.
-
Interface Summary Interface Description CallableClient Defines callbacks which the hub can make on a callable client.ClientProfile Defines an object that can be used to register with a running SAMP hub.HubConnection Represents a registered client's connection to a running hub.MessageHandler Interface for a client which wishes to receive messages.ResponseHandler Interface for a client which wishes to receive responses to message it has sent asynchrnonously usingcall
orcallAll
.ResultHandler Interface which consumes call responses. -
Class Summary Class Description AbstractMessageHandler Partial implementation of MessageHandler interface which helps to ensure correct client behaviour.ClientTracker Message handler which watches hub event messages to keep track of what clients are currently registered and what their attributes are on behalf of the hub.ClientTracker.ClientOperation Describes an operation to be performed on a TrackedClient object which is already part of this tracker's model.ClientTracker.OperationQueue Data structure for holding ClientOperation objects which (may) need to be applied in the future.ClientTracker.TrackedClient Client implementation used to populate internal data structures.DefaultClientProfile Factory which supplies the default ClientProfile for use by SAMP clients.HubConnector Manages a client's connection to SAMP hubs.LogResultHandler ResultHandler implementation which outputs some information about responses received through the logging system.TrackedClientSet Collection of Client objects which can be notified and interrogated about the clients which are currently registered. -
Exception Summary Exception Description SampException Exception thrown when some error occurs in SAMP processing.