|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.ALauncher
org.basex.server.ClientLauncherNew
public final class ClientLauncherNew
This class sends client commands to the server instance over a socket.
It extends the ALauncher class.
| Constructor Summary | |
|---|---|
ClientLauncherNew(Context ctx)
Constructor, specifying the server host:port and the command to be sent. |
|
| Method Summary | |
|---|---|
boolean |
execute(Process pr)
Executes a process. |
void |
info(PrintOutput o)
Returns process info. |
void |
output(PrintOutput o)
Serializes the textual results of a command. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientLauncherNew(Context ctx)
throws java.io.IOException
ctx - database context
java.io.IOException - I/O exception| Method Detail |
|---|
public boolean execute(Process pr)
throws java.io.IOException
ALauncher
execute in class ALauncherpr - process to be executed
java.io.IOException - I/O exception
public void output(PrintOutput o)
throws java.io.IOException
ALauncher
output in class ALaunchero - output stream
java.io.IOException - I/O exception
public void info(PrintOutput o)
throws java.io.IOException
ALauncher
info in class ALaunchero - output stream
java.io.IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||