|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.BaseXServer
public final class BaseXServer
This is the starter class for the database server. It handles incoming requests and offers some simple threading to allow simultaneous database requests. Add the '-h' option to get a list on all available command-line arguments.
| Constructor Summary | |
|---|---|
BaseXServer(java.lang.String... args)
The server calls this constructor to listen on the given port for incoming connections. |
|
| Method Summary | |
|---|---|
static void |
error(java.lang.Exception ex,
boolean quiet)
Prints a server error message. |
static void |
main(java.lang.String[] args)
Main method, launching the server process. |
void |
quit()
Quits the server. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseXServer(java.lang.String... args)
args - arguments| Method Detail |
|---|
public static void main(java.lang.String[] args)
-h argument.
args - command-line argumentspublic void quit()
public static void error(java.lang.Exception ex,
boolean quiet)
ex - exception referencequiet - quiet flag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||