public interface ToadComm
Modifier and Type | Interface and Description |
---|---|
static class |
ToadComm.AccessDeniedException |
static class |
ToadComm.DeviceBusyException |
static class |
ToadComm.DeviceNotFound |
static class |
ToadComm.TimeoutException |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection() |
void |
flush() |
boolean |
isConnected() |
void |
openConnection(java.lang.String portName) |
int |
read(byte[] buffer,
int len) |
void |
write(byte[] buffer,
int len) |
boolean isConnected()
void openConnection(java.lang.String portName) throws ToadComm.DeviceBusyException, ToadComm.AccessDeniedException, ToadComm.DeviceNotFound, java.io.IOException
ToadComm.DeviceBusyException
ToadComm.AccessDeniedException
ToadComm.DeviceNotFound
java.io.IOException
void closeConnection()
int read(byte[] buffer, int len) throws java.lang.Exception
java.lang.Exception
void write(byte[] buffer, int len) throws java.lang.Exception
java.lang.Exception
void flush() throws java.lang.Exception
java.lang.Exception