Package org.a11y.brlapi
Class Connection
java.lang.Object
org.a11y.brlapi.Component
org.a11y.brlapi.NativeComponent
org.a11y.brlapi.ConnectionBase
org.a11y.brlapi.Connection
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class org.a11y.brlapi.Component
BYTE_MASK, UNICODE_BRAILLE_ROW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintenterTtyMode(int tty) intenterTtyMode(String driver) voidenterTtyModeWithPath(int... ttys) voidenterTtyModeWithPath(int[] ttys, String driver) intfinal longreadKey()voidwrite(byte[] dots) voidwrite(int cursor) voidvoidvoidMethods inherited from class org.a11y.brlapi.ConnectionBase
acceptAllKeys, acceptKeyRanges, acceptKeys, close, enterRawMode, enterTtyMode, enterTtyModeWithPath, getAuthenticationScheme, getConnection, getDisplaySize, getDriverName, getFileDescriptor, getModelIdentifier, getParameter, getServerHost, ignoreAllKeys, ignoreKeyRanges, ignoreKeys, isUnusable, leaveRawMode, leaveTtyMode, pause, readKey, readKeyWithTimeout, recvRaw, sendRaw, setFocus, setParameter, setUnusable, unwatchParameter, watchParameter, write, writeDots, writeTextMethods inherited from class org.a11y.brlapi.Component
printf, toOperandName, toUnicodeBraille, toUnicodeBraille
-
Constructor Details
-
Connection
- Throws:
ConnectException
-
-
Method Details
-
getCellCount
public int getCellCount() -
enterTtyMode
public int enterTtyMode(int tty) -
enterTtyMode
-
enterTtyMode
public int enterTtyMode() -
enterTtyModeWithPath
-
enterTtyModeWithPath
public void enterTtyModeWithPath(int... ttys) -
readKey
- Throws:
InterruptedIOException
-
write
public void write(byte[] dots) -
write
-
write
-
write
public void write(int cursor) -
write
-
getParameters
-