A D E F G H I M N O R S U W 
All Classes All Packages

A

available() - Method in interface ej.event.EventDataReader
Returns the number of bytes that can be read (or skipped over).
available() - Method in class ej.event.EventQueueDataReader
 

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 to null.

E

ej.event - package ej.event
 
endReadExtendedData() - Static method in class ej.event.EventQueueNatives
The Java listener finished to read the data from the event queue.
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.
EventQueueDataReader - Class in ej.event
EventQueueDataReader is an implementation of the EventDataReader interface.
EventQueueDataReader() - Constructor for class ej.event.EventQueueDataReader
 
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.
EventQueueNatives - Class in ej.event
Native methods of the Event Queue Foundation Library.

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

initialize() - Static method in class ej.event.EventQueueNatives
Initializes the event queue.
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

nativeAvailable() - Static method in class ej.event.EventQueueNatives
Returns the number of bytes that can be read (or skipped over).
nativeRead(byte[], int, int) - Static method in class ej.event.EventQueueNatives
Reads up to len bytes of data and store them into the buffer array b.
nativeReadBoolean() - Static method in class ej.event.EventQueueNatives
Gets the next boolean of data.
nativeReadByte() - Static method in class ej.event.EventQueueNatives
Gets the next byte of data.
nativeReadChar() - Static method in class ej.event.EventQueueNatives
Gets the next char of data.
nativeReadDouble() - Static method in class ej.event.EventQueueNatives
Gets the next double of data.
nativeReadFloat() - Static method in class ej.event.EventQueueNatives
Gets the next float of data.
nativeReadInt() - Static method in class ej.event.EventQueueNatives
Gets the next integer of data.
nativeReadLong() - Static method in class ej.event.EventQueueNatives
Gets the next long of data.
nativeReadShort() - Static method in class ej.event.EventQueueNatives
Gets the next short of data.
nativeReadUnsignedByte() - Static method in class ej.event.EventQueueNatives
Gets the next unsigned byte of data.
nativeReadUnsignedShort() - Static method in class ej.event.EventQueueNatives
Gets the next unsigned short of data.
nativeSkipBytes(int) - Static method in class ej.event.EventQueueNatives
Skips n bytes.
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.
offerEvent(int, int) - Static method in class ej.event.EventQueueNatives
Offers an event to the queue.
offerExtendedEvent(int, byte[]) - Method in class ej.event.EventQueue
Inserts an extended event to the FIFO.
offerExtendedEvent(int, byte[], int) - Static method in class ej.event.EventQueueNatives
Offers an extended event to the queue.

R

read(byte[], int, int) - Method in interface ej.event.EventDataReader
Reads len bytes of data and store them into the buffer b.
read(byte[], int, int) - Method in class ej.event.EventQueueDataReader
 
readBoolean() - Method in interface ej.event.EventDataReader
Reads the next boolean of data.
readBoolean() - Method in class ej.event.EventQueueDataReader
 
readByte() - Method in interface ej.event.EventDataReader
Reads the next byte of data.
readByte() - Method in class ej.event.EventQueueDataReader
 
readChar() - Method in interface ej.event.EventDataReader
Reads the next char of data.
readChar() - Method in class ej.event.EventQueueDataReader
 
readDouble() - Method in interface ej.event.EventDataReader
Reads the next double of data.
readDouble() - Method in class ej.event.EventQueueDataReader
 
readFloat() - Method in interface ej.event.EventDataReader
Reads the next float of data.
readFloat() - Method in class ej.event.EventQueueDataReader
 
readFully(byte[]) - Method in interface ej.event.EventDataReader
Reads all the bytes of data and store them into the buffer b.
readFully(byte[]) - Method in class ej.event.EventQueueDataReader
 
readInt() - Method in interface ej.event.EventDataReader
Reads the next integer of data.
readInt() - Method in class ej.event.EventQueueDataReader
 
readLong() - Method in interface ej.event.EventDataReader
Reads the next long of data.
readLong() - Method in class ej.event.EventQueueDataReader
 
readShort() - Method in interface ej.event.EventDataReader
Reads the next short of data.
readShort() - Method in class ej.event.EventQueueDataReader
 
readUnsignedByte() - Method in interface ej.event.EventDataReader
Reads the next unsigned byte of data.
readUnsignedByte() - Method in class ej.event.EventQueueDataReader
 
readUnsignedShort() - Method in interface ej.event.EventDataReader
Reads the next unsigned short of data.
readUnsignedShort() - Method in class ej.event.EventQueueDataReader
 
registerListener(EventQueueListener) - Method in class ej.event.EventQueue
Registers a listener that will receive the events of a type.

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 n bytes of data.
skipBytes(int) - Method in class ej.event.EventQueueDataReader
 
startReadExtendedData(int) - Static method in class ej.event.EventQueueNatives
Starts to read an extended data.

U

unregisterListener(int) - Method in class ej.event.EventQueue
Unregisters listener for the provided event type

W

waitEvent() - Static method in class ej.event.EventQueueNatives
Waits for an event from the queue and returns it.
A D E F G H I M N O R S U W 
All Classes All Packages