Package | Description |
---|---|
org.astrogrid.samp.hub |
Classes required only for running a SAMP hub.
|
Modifier and Type | Field and Description |
---|---|
(package private) Hub[] |
HubServiceMode.BasicWindowConfig.runners_ |
(package private) Hub[] |
HubServiceMode.ProfileToggler.runners_ |
Modifier and Type | Method and Description |
---|---|
static Hub[] |
Hub.getRunningHubs()
Returns an array of all the instances of this class which are
currently running.
|
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.
|
Modifier and Type | Method and Description |
---|---|
private static HubServiceMode.Tidier |
HubServiceMode.configureHubWindow(javax.swing.JFrame frame,
HubProfile[] profiles,
Hub[] runners,
GuiHubService hubService)
Used to perform common configuration of hub display windows
for GUI-type hub modes.
|
(package private) abstract HubServiceMode.ServiceGui |
HubServiceMode.createHubService(java.util.Random random,
HubProfile[] profiles,
Hub[] runners)
Creates and returns a new hub service object.
|
(package private) HubServiceMode.ServiceGui |
HubServiceMode.BrokenHubMode.createHubService(java.util.Random random,
HubProfile[] profiles,
Hub[] runners) |
Constructor and Description |
---|
BasicWindowConfig(javax.swing.JFrame frame,
HubProfile[] profiles,
Hub[] runners,
GuiHubService hubService)
Constructor.
|
ProfileToggler(HubProfile profile,
Hub[] runners)
Constructor.
|
SysTrayWindowConfig(javax.swing.JFrame frame,
HubProfile[] profiles,
Hub[] runners,
GuiHubService hubService,
SysTray sysTray)
Constructor.
|