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 HubServiceModeGuiHubConnector.HubAction. hubMode_Methods in org.astrogrid.samp.gui with parameters of type HubServiceMode Modifier and Type Method Description javax.swing.ActionGuiHubConnector. 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 classHubServiceMode.BrokenHubModeHubServiceMode 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 HubServiceModeHubServiceMode. CLIENT_GUIHub mode with a GUI representation of connected clients.static HubServiceModeHubServiceMode. FACADEHub Mode which piggy-backs on an existing hub using the default client profile.private static HubServiceMode[]HubServiceMode. KNOWN_MODESArray of available hub modes.static HubServiceModeHubServiceMode. MESSAGE_GUIHub mode with a GUI representation of clients and messages.static HubServiceModeHubServiceMode. NO_GUIHub mode with no GUI representation of hub operations.Methods in org.astrogrid.samp.hub that return HubServiceMode Modifier and Type Method Description private static HubServiceModeHubServiceMode. createBasicHubMode(java.lang.String name)Constructs a mode for BasicHubService.private static HubServiceModeHubServiceMode. createFacadeHubMode(java.lang.String name)Constructs a mode for FacadeHubService.private static HubServiceModeHubServiceMode. createGuiHubMode(java.lang.String name)Constructs a mode for GuiHubService.private static HubServiceModeHubServiceMode. 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 HubServiceModeHubServiceMode. 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 voidHub. runExternalHub(HubServiceMode hubMode)Attempts to run a hub in a new JVM with a default set of profiles.static voidHub. 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 HubHub. runHub(HubServiceMode hubMode)Starts a SAMP hub with a default set of profiles.static HubHub. runHub(HubServiceMode hubMode, HubProfile[] profiles, HubProfile[] extraProfiles)Starts a SAMP hub with given sets of profiles.
-