Package org.a11y.brlapi.clients
Class PauseClient
- java.lang.Object
-
- org.a11y.brlapi.Component
-
- org.a11y.brlapi.ProgramComponent
-
- org.a11y.brlapi.Program
-
- org.a11y.brlapi.Client
-
- org.a11y.brlapi.clients.PauseClient
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
ApiExceptionClient
,WriteArgumentsClient
,WriteDotsClient
,WriteTextClient
public class PauseClient extends Client
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.a11y.brlapi.Client
Client.ClientTask, Client.RawModeTask, Client.TtyModeTask
-
Nested classes/interfaces inherited from class org.a11y.brlapi.Program
Program.Option
-
-
Field Summary
Fields Modifier and Type Field Description static byte
DEFAULT_WAIT_TIME
static byte
MINIMUM_WAIT_TIME
-
Fields inherited from class org.a11y.brlapi.Program
USAGE_OPTIONAL_BEGIN, USAGE_OPTIONAL_END, USAGE_REPEATING_INDICATOR
-
Fields inherited from class org.a11y.brlapi.ProgramComponent
EXIT_CODE_EXTERNAL, EXIT_CODE_INTERNAL, EXIT_CODE_SEMANTIC, EXIT_CODE_SUCCESS, EXIT_CODE_SYNTAX
-
Fields inherited from class org.a11y.brlapi.Component
BYTE_MASK, UNICODE_BRAILLE_ROW
-
-
Constructor Summary
Constructors Constructor Description PauseClient(java.lang.String... arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
extendUsageSummary(java.lang.StringBuilder usage)
protected int
getWaitTime()
protected boolean
pause(Connection connection)
protected void
runClient(Connection connection)
-
Methods inherited from class org.a11y.brlapi.Client
getParameter, pause, rawMode, rawMode, runProgram, setAuthenticationScheme, setServerHost, ttyMode, ttyMode
-
Methods inherited from class org.a11y.brlapi.Program
addOption, addOptionalParameters, addRepeatingParameter, addRequiredParameters, getProgramName, getPurpose, getUsageSummary, isClient, onProgramException, processParameters, run, setProgramName, writeProgramMessage
-
Methods inherited from class org.a11y.brlapi.ProgramComponent
isClient, isClient
-
Methods inherited from class org.a11y.brlapi.Component
getObjectName, getObjectName, printf, toOperandName, toUnicodeBraille, toUnicodeBraille
-
-
-
-
Field Detail
-
MINIMUM_WAIT_TIME
public static final byte MINIMUM_WAIT_TIME
- See Also:
- Constant Field Values
-
DEFAULT_WAIT_TIME
public static final byte DEFAULT_WAIT_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getWaitTime
protected final int getWaitTime()
-
pause
protected final boolean pause(Connection connection)
-
extendUsageSummary
protected void extendUsageSummary(java.lang.StringBuilder usage)
- Overrides:
extendUsageSummary
in classClient
-
runClient
protected void runClient(Connection connection) throws ProgramException
- Specified by:
runClient
in classClient
- Throws:
ProgramException
-
-