public class StringCommander extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StringCommander.Framer |
static class |
StringCommander.StringReaderThread |
static class |
StringCommander.StringWriterThread
Basically for testing
|
Constructor and Description |
---|
StringCommander(IStringCommand hardware) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
String |
sendStringCommand(String cmd) |
String[] |
sendStringCommand(String[] cmds,
int count,
int returnLines,
int delay) |
String |
sendStringCommand(String cmd,
int returnLines) |
static void |
telnet(IStringCommand hardware) |
static void |
telnet(IStringCommand hardware,
StringCommander.Framer commandFramer) |
public StringCommander(IStringCommand hardware)
public String[] sendStringCommand(String[] cmds, int count, int returnLines, int delay) throws IOException
IOException
public String sendStringCommand(String cmd, int returnLines) throws IOException
IOException
public String sendStringCommand(String cmd) throws IOException
IOException
public static void telnet(IStringCommand hardware, StringCommander.Framer commandFramer)
public static void telnet(IStringCommand hardware)
public static void main(String[] args)
Copyright © 2015. All rights reserved.