|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.clichart.main.cliserver.CliServer
public class CliServer
A simple server that typically uses stdin/stdout or sockets to allow a client to interact with clichart.
Uses pretty much the same options (both short and long) as the CLI, and calls an ChartGenerator when asked to generate a chart.
Note that options are sticky from the last chart, unless 'clear' is called.
| Constructor Summary | |
|---|---|
CliServer()
|
|
| Method Summary | |
|---|---|
void |
interact(java.io.InputStream stdin,
java.io.PrintStream stdout)
Interact with the caller via the stream-based protocol, until 'quit' is called or input stream is closed |
void |
setChartGenerator(ChartGenerator chartGenerator)
Set the chart generator, for creating chart generators for generating all charts |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CliServer()
| Method Detail |
|---|
public void setChartGenerator(ChartGenerator chartGenerator)
public void interact(java.io.InputStream stdin,
java.io.PrintStream stdout)
stdin - stdout -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||