public class MachineDialogParser extends Object
Constructor and Description |
---|
MachineDialogParser() |
Modifier and Type | Method and Description |
---|---|
void |
cliAbort()
abort command.
|
void |
cliDownloadLog(OutputStream out)
log command.
|
Object |
cliEnvironmentGet(String name)
env-get command.
|
void |
cliEnvironmentSet(String name,
Object value)
env-set command.
|
void |
cliInstall()
install command.
|
void |
cliNoop()
noop command.
|
void |
cliQuit()
quit command.
|
Event.Base |
nextEvent()
Get next event from stream.
|
Event.Base |
nextEvent(OutputStream out)
Get next event from stream.
|
void |
sendResponse(Event.Base bevent)
Send response of an event.
|
void |
setStreams(InputStream incoming,
OutputStream outgoing)
Set the dialog streams.
|
public void setStreams(InputStream incoming, OutputStream outgoing)
incoming
- incoming stream.outgoing
- outgoing stream.public Object cliEnvironmentGet(String name) throws IOException
name
- variable name.IOException
public void cliEnvironmentSet(String name, Object value) throws IOException
name
- variable name.value
- value to set, type of object is attached (null, Integer, String, String[]).IOException
public void cliDownloadLog(OutputStream out) throws IOException
out
- stream to write log into.IOException
public void cliNoop() throws IOException
IOException
public void cliQuit() throws IOException
IOException
public void cliInstall() throws IOException
IOException
public void cliAbort() throws IOException
IOException
public Event.Base nextEvent(OutputStream out) throws IOException, SoftError
out
- output stream for multistring display.IOException
SoftError
public Event.Base nextEvent() throws IOException
IOException
public void sendResponse(Event.Base bevent)
bevent
- event that holds the response.Copyright © 2014. All rights reserved.