public abstract class AbstractDataHandler extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDataHandler.ReceiverThread |
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
inputBuffer |
| Constructor and Description |
|---|
AbstractDataHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract void |
closeHandle() |
protected void |
configureDevice(FTDevice ftDevice) |
protected abstract void |
createEventHandle() |
protected Thread |
createReceiverThread() |
protected abstract void |
processMessages(byte[] bytes) |
protected abstract int |
readData(FTDevice ftDevice) |
void |
setFTDevice(FTDevice device) |
void |
startReceiverAndQueues() |
protected void |
triggerClosePort() |
protected abstract void |
waitForNotificationEvent(FTDevice ftDevice,
int eventMask) |
protected abstract void createEventHandle()
protected abstract void waitForNotificationEvent(FTDevice ftDevice, int eventMask) throws FTD2XXException
FTD2XXExceptionprotected abstract int readData(FTDevice ftDevice) throws FTD2XXException
FTD2XXExceptionprotected abstract void processMessages(byte[] bytes)
protected abstract void closeHandle()
protected void configureDevice(FTDevice ftDevice) throws FTD2XXException
FTD2XXExceptionprotected Thread createReceiverThread()
public void setFTDevice(FTDevice device)
public void close()
protected void triggerClosePort()
public void startReceiverAndQueues()
Copyright © 2021. All rights reserved.