public class CommandEngine extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CommandEngine.CommandCallable |
| Modifier and Type | Field and Description |
|---|---|
protected IchtyometerClient |
client |
protected javax.microedition.io.StreamConnection |
connection |
protected DataInputStream |
dataInputStream |
protected DataOutputStream |
dataOutputStream |
protected ExecutorService |
service |
| Constructor and Description |
|---|
CommandEngine() |
protected IchtyometerClient client
protected javax.microedition.io.StreamConnection connection
protected DataOutputStream dataOutputStream
protected DataInputStream dataInputStream
protected ExecutorService service
public void start(IchtyometerClient client) throws IOException
IOExceptionpublic void stop()
throws IOException
IOExceptionpublic Command sendCommand(String question) throws IOException
IOExceptionCopyright © 2012–2015 Ifremer. All rights reserved.