|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.core.Progress
org.basex.core.AbstractProcess
org.basex.core.ClientProcess
public final class ClientProcess
This class sends client commands to the server instance over a socket.
It extends the AbstractProcess class.
| Constructor Summary | |
|---|---|
ClientProcess(java.lang.String h,
int p,
Process pr)
Constructor, specifying the server host:port and the command to be sent. |
|
| Method Summary | |
|---|---|
boolean |
execute(Context ctx)
Executes a command. |
void |
info(PrintOutput o)
Returns process info. |
void |
output(PrintOutput o)
Serializes the textual results of a command. |
| Methods inherited from class org.basex.core.Progress |
|---|
checkStop, det, detail, prog, progress, progress, stop, title |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientProcess(java.lang.String h,
int p,
Process pr)
h - name of the hostp - portpr - process| Method Detail |
|---|
public boolean execute(Context ctx)
throws java.io.IOException
AbstractProcess
execute in class AbstractProcessctx - context reference
java.io.IOException - I/O exception
public void output(PrintOutput o)
throws java.io.IOException
AbstractProcess
output in class AbstractProcesso - output stream
java.io.IOException - I/O exception
public void info(PrintOutput o)
throws java.io.IOException
AbstractProcess
info in class AbstractProcesso - output stream
java.io.IOException - I/O exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||