unsw.cse.mica.blackboard
Class XMLOverTCPBlackboard
java.lang.Object
unsw.cse.mica.blackboard.XMLOverTCPBlackboard
public class XMLOverTCPBlackboard
- extends java.lang.Object
A helper class to simplify the process of creating a blackboard with a TCP+XML interface,
since this is currently the most commonly used setup. It also provides a minimal set of
console commands for debugging and information purposes.
- Author:
- jhw
Method Summary |
static void |
main(java.lang.String[] arg)
Create a new SQL blackboard with an XMLOverTCP transport. |
static void |
usage()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLOverTCPBlackboard
public XMLOverTCPBlackboard()
usage
public static void usage()
main
public static void main(java.lang.String[] arg)
- Create a new SQL blackboard with an XMLOverTCP transport.
Recognised parameters are:
- -port=PORTNUM specifies the desired port.
The default port is 8500
- -home=DIR specifies mica's home directory.
The default home directory is .
- -typePath=DIR specifies the path to the type configuration files relative to the mica home directory.
The default type directory is config/type
- -dbPath=DIR specifies the path to (and base filename of) the blackboard sql database files relative to the mica home directory.
The default database path is data/blackboard
- -persistent=[true/false] specifies whether the database should be persistent (retain the mob store on termination) or transient (discard the mob store on termination).
The default persistence setting is true
- -debug=[int|string] specifies the debug level to use.
Note that all the paramters are optional. If not specified, settings revert to their default values.
- Parameters:
arg
-
- Throws:
MicaException