Package org.astrogrid.samp.xmlrpc
Class HubMode
- java.lang.Object
-
- org.astrogrid.samp.xmlrpc.HubMode
-
public abstract class HubMode extends java.lang.Object
Deprecated.useHubServiceMode
withHub
insteadSpecifies a particular hub implementation for use withHubRunner
.- Since:
- 20 Nov 2008
- Author:
- Mark Taylor
-
-
Field Summary
Fields Modifier and Type Field Description static HubMode
CLIENT_GUI
Deprecated.Hub mode with a GUI representation of connected clients.static HubMode
MESSAGE_GUI
Deprecated.Hub mode with a GUI representation of clients and messages.static HubMode
NO_GUI
Deprecated.Hub mode with no GUI representation of hub operations.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HubMode[]
getAvailableModes()
Deprecated.Returns an array of the hub modes which can actually be used.static HubMode
getModeFromName(java.lang.String name)
Deprecated.Returns one of the known modes which has a name as given.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
NO_GUI
public static final HubMode NO_GUI
Deprecated.Hub mode with no GUI representation of hub operations.
-
CLIENT_GUI
public static final HubMode CLIENT_GUI
Deprecated.Hub mode with a GUI representation of connected clients.
-
MESSAGE_GUI
public static HubMode MESSAGE_GUI
Deprecated.Hub mode with a GUI representation of clients and messages.
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
getModeFromName
public static HubMode getModeFromName(java.lang.String name)
Deprecated.Returns one of the known modes which has a name as given.- Parameters:
name
- mode name (case-insensitive)- Returns:
- mode with given name, or null if none known
-
getAvailableModes
public static HubMode[] getAvailableModes()
Deprecated.Returns an array of the hub modes which can actually be used.- Returns:
- available mode list
-
-