public interface GenerationRoundListener extends OutputRoundListener<PWMChannel,java.nio.IntBuffer>
GenerationRoundListenerinterface defines methods for getting notified of the completion of the generation of a sequence of pulses and that more pulses (the width thereof) to generate may be specified. This interface also indirectly extends the
AsyncErrorHandlerinterface for getting notified of asynchronous I/O errors. A
GenerationRoundListenercan be registered using one of the
|Modifier and Type||Method and Description|
Invoked when an I/O operation fails.
Invoked when a buffer of DAC output values has been converted and the buffer is available for copying more output values to convert, or when an output underrun error occurred.
void outputRoundCompleted(RoundCompletionEvent<PWMChannel,java.nio.IntBuffer> event)
void failed(java.lang.Throwable exception, PWMChannel source)
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved.