public class EchoClient extends Client
Client.ClientTask, Client.RawModeTask, Client.TtyModeTask
Program.Option
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_READ_COUNT |
static int |
DEFAULT_READ_TIMEOUT |
static int |
FOREVER_READ_TIMEOUT |
static int |
MINIMUM_READ_COUNT |
static int |
MINIMUM_READ_TIMEOUT |
static java.lang.String |
NO_TIMEOUT |
USAGE_OPTIONAL_BEGIN, USAGE_OPTIONAL_END, USAGE_REPEATING_INDICATOR
EXIT_CODE_EXTERNAL, EXIT_CODE_INTERNAL, EXIT_CODE_SEMANTIC, EXIT_CODE_SUCCESS, EXIT_CODE_SYNTAX
BYTE_MASK, UNICODE_BRAILLE_ROW
Constructor and Description |
---|
EchoClient(java.lang.String... arguments) |
Modifier and Type | Method and Description |
---|---|
protected void |
extendUsageSummary(java.lang.StringBuilder usage) |
protected void |
processParameters(java.lang.String[] parameters) |
protected void |
runClient(Connection connection) |
getParameter, pause, rawMode, rawMode, runProgram, setAuthenticationScheme, setServerHost, ttyMode, ttyMode
addOption, addOptionalParameters, addRepeatingParameter, addRequiredParameters, getName, getUsageSummary, isClient, onProgramException, run, writeProgramMessage
getProgramName, isClient, isClient
printf, toOperandName, toUnicodeBraille, toUnicodeBraille
public static final int MINIMUM_READ_COUNT
public static final int DEFAULT_READ_COUNT
public static final java.lang.String NO_TIMEOUT
public static final int FOREVER_READ_TIMEOUT
public static final int MINIMUM_READ_TIMEOUT
public static final int DEFAULT_READ_TIMEOUT
protected final void extendUsageSummary(java.lang.StringBuilder usage)
extendUsageSummary
in class Client
protected void processParameters(java.lang.String[] parameters) throws SyntaxException
processParameters
in class Program
SyntaxException
protected final void runClient(Connection connection) throws ProgramException
runClient
in class Client
ProgramException