public class TcpIpDriver extends InstrumentDriver
encoding, name, responseTermination, responseTimeout| Constructor and Description |
|---|
TcpIpDriver(String name,
Map<String,Object> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
String |
read() |
void |
write(String cmd) |
command, getName, getResponseTermination, getResponseTimeoutpublic void connect()
throws IOException
connect in class InstrumentDriverIOExceptionpublic void disconnect()
throws IOException
disconnect in class InstrumentDriverIOExceptionpublic void write(String cmd) throws IOException
write in class InstrumentDriverIOExceptionpublic String read() throws IOException, TimeoutException
read in class InstrumentDriverIOExceptionTimeoutExceptionCopyright © 2018 Space Applications Services. All rights reserved.