Package com.ftdi.handler
Class EventNotificationHandlerWindows
java.lang.Object
com.ftdi.AbstractDataHandler
com.ftdi.AbstractEventNotificationHandler<com.sun.jna.platform.win32.WinNT.HANDLE>
com.ftdi.handler.EventNotificationHandlerWindows
public class EventNotificationHandlerWindows
extends AbstractEventNotificationHandler<com.sun.jna.platform.win32.WinNT.HANDLE>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ftdi.AbstractDataHandler
AbstractDataHandler.ReceiverThread -
Field Summary
Fields inherited from class com.ftdi.AbstractEventNotificationHandler
eventHandleFields inherited from class com.ftdi.AbstractDataHandler
inputBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprocessMessages(byte[] bytes) protected voidregisterEventHandle(FTDevice ftDevice, int eventMask) protected voidwaitForNotificationEvent(FTDevice ftDevice) Methods inherited from class com.ftdi.AbstractEventNotificationHandler
readData, setEventHandleMethods inherited from class com.ftdi.AbstractDataHandler
close, configureDevice, createReceiverThread, handleFatalError, setFTDevice, startReceiverAndQueues, triggerClosePort
-
Constructor Details
-
EventNotificationHandlerWindows
public EventNotificationHandlerWindows()
-
-
Method Details
-
createEventHandle
protected void createEventHandle()- Specified by:
createEventHandlein classAbstractDataHandler
-
registerEventHandle
- Specified by:
registerEventHandlein classAbstractDataHandler- Throws:
FTD2XXException
-
waitForNotificationEvent
- Specified by:
waitForNotificationEventin classAbstractDataHandler- Throws:
FTD2XXException
-
closeHandle
protected void closeHandle()- Specified by:
closeHandlein classAbstractDataHandler
-
processMessages
protected void processMessages(byte[] bytes) - Specified by:
processMessagesin classAbstractDataHandler
-