Brlapi
public class Native
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected long |
handle |
Constructor | Description |
---|---|
Native() |
Modifier and Type | Method | Description |
---|---|---|
void |
acceptAllKeys() |
|
void |
acceptKeyRanges(long[][] ranges) |
|
void |
acceptKeys(long type,
long[] keys) |
|
void |
closeConnection() |
|
void |
enterRawMode(java.lang.String driver) |
|
int |
enterTtyMode(int tty,
java.lang.String driver) |
|
void |
enterTtyModeWithPath(int[] ttys,
java.lang.String driver) |
|
DisplaySize |
getDisplaySize() |
|
java.lang.String |
getDriverName() |
|
static java.lang.String |
getPacketTypeName(long type) |
|
void |
ignoreAllKeys() |
|
void |
ignoreKeyRanges(long[][] ranges) |
|
void |
ignoreKeys(long type,
long[] keys) |
|
void |
leaveRawMode() |
|
void |
leaveTtyMode() |
|
protected int |
openConnection(ConnectionSettings desiredSettings,
ConnectionSettings actualSettings) |
|
long |
readKey(boolean wait) |
|
int |
recvRaw(byte[] buffer) |
|
int |
sendRaw(byte[] buffer) |
|
void |
setFocus(int tty) |
|
void |
write(WriteArguments arguments) |
|
void |
writeDots(byte[] dots) |
|
protected void |
writeText(int cursor,
java.lang.String text) |
protected int openConnection(ConnectionSettings desiredSettings, ConnectionSettings actualSettings) throws Error
Error
public void closeConnection()
public DisplaySize getDisplaySize() throws Error
Error
public void enterTtyModeWithPath(int[] ttys, java.lang.String driver) throws Error
Error
public void write(WriteArguments arguments) throws Error
Error
public static java.lang.String getPacketTypeName(long type)