|
|||||||||
| 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.
| Field Summary |
|---|
| Fields inherited from class org.basex.core.AbstractProcess |
|---|
cmd |
| Constructor Summary | |
|---|---|
ClientProcess(java.lang.String h,
int p,
Command c)
Constructor, specifying the server host:port and the command to be sent. |
|
| Method Summary | |
|---|---|
java.lang.String |
det()
Returns detailed information on this progress. |
boolean |
execute()
Processes a command. |
java.lang.String |
head()
Returns short information on this process. |
void |
info(PrintOutput o)
Returns process info. |
void |
output(PrintOutput o)
Processes a command. |
double |
prog()
Returns progress information. |
| Methods inherited from class org.basex.core.Progress |
|---|
detail, header, progress, progress, stop, stopped |
| 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,
Command c)
h - name of the hostp - portc - command| Method Detail |
|---|
public java.lang.String det()
Progress
public boolean execute()
throws java.io.IOException
AbstractProcess
execute in class AbstractProcessjava.io.IOException - I/O exceptionpublic java.lang.String head()
Progress
public void info(PrintOutput o)
throws java.io.IOException
AbstractProcess
info in class AbstractProcesso - output stream
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 exceptionpublic double prog()
Progress
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||