Uses of Class
org.astrogrid.samp.hub.HubServiceMode
-
Packages that use HubServiceMode Package Description 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 HubServiceMode in org.astrogrid.samp.gui
Fields in org.astrogrid.samp.gui declared as HubServiceMode Modifier and Type Field Description private HubServiceMode
GuiHubConnector.HubAction. hubMode_
Methods in org.astrogrid.samp.gui with parameters of type HubServiceMode Modifier and Type Method Description javax.swing.Action
GuiHubConnector. createHubAction(boolean external, HubServiceMode hubMode)
Returns an action which will start up a SAMP hub.Constructors in org.astrogrid.samp.gui with parameters of type HubServiceMode Constructor Description HubAction(boolean external, HubServiceMode hubMode)
Constructor. -
Uses of HubServiceMode in org.astrogrid.samp.hub
Subclasses of HubServiceMode in org.astrogrid.samp.hub Modifier and Type Class Description private static class
HubServiceMode.BrokenHubMode
HubServiceMode implementation for modes which cannot be used because they rely on classes unavailable at runtime.Fields in org.astrogrid.samp.hub declared as HubServiceMode Modifier and Type Field Description static HubServiceMode
HubServiceMode. CLIENT_GUI
Hub mode with a GUI representation of connected clients.static HubServiceMode
HubServiceMode. FACADE
Hub Mode which piggy-backs on an existing hub using the default client profile.private static HubServiceMode[]
HubServiceMode. KNOWN_MODES
Array of available hub modes.static HubServiceMode
HubServiceMode. MESSAGE_GUI
Hub mode with a GUI representation of clients and messages.static HubServiceMode
HubServiceMode. NO_GUI
Hub mode with no GUI representation of hub operations.Methods in org.astrogrid.samp.hub that return HubServiceMode Modifier and Type Method Description private static HubServiceMode
HubServiceMode. createBasicHubMode(java.lang.String name)
Constructs a mode for BasicHubService.private static HubServiceMode
HubServiceMode. createFacadeHubMode(java.lang.String name)
Constructs a mode for FacadeHubService.private static HubServiceMode
HubServiceMode. createGuiHubMode(java.lang.String name)
Constructs a mode for GuiHubService.private static HubServiceMode
HubServiceMode. createMessageTrackerHubMode(java.lang.String name)
Constructs a mode for MessageTrackerHubService.static HubServiceMode[]
HubServiceMode. getAvailableModes()
Returns an array of the hub modes which can actually be used.static HubServiceMode
HubServiceMode. getModeFromName(java.lang.String name)
Returns one of the known modes which has a name as given.Methods in org.astrogrid.samp.hub with parameters of type HubServiceMode Modifier and Type Method Description static void
Hub. runExternalHub(HubServiceMode hubMode)
Attempts to run a hub in a new JVM with a default set of profiles.static void
Hub. runExternalHub(HubServiceMode hubMode, java.lang.Class[] profileClasses, java.lang.Class[] extraProfileClasses)
Attempts to start a hub in a new JVM with a given set of profiles.static Hub
Hub. runHub(HubServiceMode hubMode)
Starts a SAMP hub with a default set of profiles.static Hub
Hub. runHub(HubServiceMode hubMode, HubProfile[] profiles, HubProfile[] extraProfiles)
Starts a SAMP hub with given sets of profiles.
-