A D E F G H I M N O R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- available() - Method in interface ej.event.EventDataReader
-
Returns the number of bytes that can be read (or skipped over).
D
- DATA_EXCEED_24_BIT - Static variable in exception ej.event.EventQueueException
-
Error code
-3: thrown when the data value exceeds 24 bits. - DEFAULT_LISTENER_NULL - Static variable in exception ej.event.EventQueueException
-
Error code
-6: thrown when attempting to set the default listener tonull.
E
- ej.event - package ej.event
- EventDataReader - Interface in ej.event
-
An EventDataReader contains the methods to read the data of an extended event.
- EventQueue - Class in ej.event
-
EventQueue is an asynchronous communication interface between the native world and the Java world based on events.
- EventQueueException - Exception in ej.event
-
Thrown to indicate that a method has caused an internal EventQueue error.
- EventQueueListener - Interface in ej.event
-
EventQueueListener is an interface to be implemented by parties interested to receive events of a specific type from an
EventQueue.
F
- FIFO_IS_FULL - Static variable in exception ej.event.EventQueueException
-
Error code
-2: thrown when the FIFO buffer is full.
G
- getInstance() - Static method in class ej.event.EventQueue
-
Gets an instance of a started EventQueue.
H
- handleEvent(int, int) - Method in interface ej.event.EventQueueListener
-
Handles an event.
- handleEvent(int, int) - Method in class ej.event.NullEventQueueListener
- handleExtendedEvent(int, EventDataReader) - Method in interface ej.event.EventQueueListener
-
Handles an extended event.
- handleExtendedEvent(int, EventDataReader) - Method in class ej.event.NullEventQueueListener
I
- INVALID_TYPE_MUST_BE_BETWEEN_0_AND_127 - Static variable in exception ej.event.EventQueueException
-
Error code
-1: thrown when an invalid event type is provided.
M
- MAXIMUM_REGISTERED_EVENTS_REACHED - Static variable in exception ej.event.EventQueueException
-
Error code
-4: thrown when the maximum number of event types has already been registered.
N
- NO_LISTENER_REGISTERED - Static variable in exception ej.event.EventQueueException
-
Error code
-5: thrown when no listener is registered for the specified event type. - NOT_ENOUGH_BYTES_REMAINING - Static variable in exception ej.event.EventQueueException
-
Error code
-7: thrown if there is not enough bytes remaining in the extended event. - NullEventQueueListener - Class in ej.event
-
Implementation of event listener that does nothing.
- NullEventQueueListener() - Constructor for class ej.event.NullEventQueueListener
O
- offerEvent(int, int) - Method in class ej.event.EventQueue
-
Inserts an event to the FIFO.
- offerExtendedEvent(int, byte[]) - Method in class ej.event.EventQueue
-
Inserts an extended event to the FIFO.
R
- read(byte[], int, int) - Method in interface ej.event.EventDataReader
-
Reads
lenbytes of data and store them into the bufferb. - readBoolean() - Method in interface ej.event.EventDataReader
-
Reads the next boolean of data.
- readByte() - Method in interface ej.event.EventDataReader
-
Reads the next byte of data.
- readChar() - Method in interface ej.event.EventDataReader
-
Reads the next char of data.
- readDouble() - Method in interface ej.event.EventDataReader
-
Reads the next double of data.
- readFloat() - Method in interface ej.event.EventDataReader
-
Reads the next float of data.
- readFully(byte[]) - Method in interface ej.event.EventDataReader
-
Reads all the bytes of data and store them into the buffer
b. - readInt() - Method in interface ej.event.EventDataReader
-
Reads the next integer of data.
- readLong() - Method in interface ej.event.EventDataReader
-
Reads the next long of data.
- readShort() - Method in interface ej.event.EventDataReader
-
Reads the next short of data.
- readUnsignedByte() - Method in interface ej.event.EventDataReader
-
Reads the next unsigned byte of data.
- readUnsignedShort() - Method in interface ej.event.EventDataReader
-
Reads the next unsigned short of data.
- registerListener(EventQueueListener) - Method in class ej.event.EventQueue
-
Registers a
listenerthat will receive the events of atype.
S
- setDefaultListener(EventQueueListener) - Method in class ej.event.EventQueue
-
Sets the default
listener. - setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class ej.event.EventQueue
-
Sets a handler for the exceptions that occur during event reading or execution.
- skipBytes(int) - Method in interface ej.event.EventDataReader
-
Skips over and discard
nbytes of data.
U
- unregisterListener(int) - Method in class ej.event.EventQueue
-
Unregisters listener for the provided event type
All Classes All Packages