A B E G I L N O R S T W 
All Classes All Packages

A

available() - Method in class ej.event.Event
Returns the number of bytes that can be read (or skipped over) from Event.extendedData.

B

BUFFER_TOO_SMALL - Static variable in exception ej.event.EventQueueMockException
Error code -11: thrown when the buffer is too small to store the extended event data.

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.
Event - Class in ej.event
Event is the object that is sent through the Event Queue.
Event(boolean, int, int, byte[], int) - Constructor for class ej.event.Event
Event constructor.
EventQueueMock - Class in ej.event
EventQueueMockAPI mocks the C API of the Generic Event Foundation Library.
EventQueueMockException - Exception in ej.event
Thrown to indicate that a method has caused an internal EventQueue error.
EventQueueNatives - Class in ej.event
Native methods of the Event Queue Foundation Library.

G

getMessage() - Method in class ej.event.Event
 

I

initialize() - Static method in class ej.event.EventQueueNatives
Initializes the queue.
isExtended() - Method in class ej.event.Event
Gets the isExtended.

L

LESS_THAN_2_BYTES_REMAINING - Static variable in exception ej.event.EventQueueMockException
Error code -8: Less than 2 bytes remaining in the extended data.
LESS_THAN_4_BYTES_REMAINING - Static variable in exception ej.event.EventQueueMockException
Error code -9: thrown when less than 4 bytes remaining in the extended data.
LESS_THAN_8_BYTES_REMAINING - Static variable in exception ej.event.EventQueueMockException
Error code -10: thrown when less than 8 bytes remaining in the extended data.

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 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_REMAINING_BYTE - Static variable in exception ej.event.EventQueueMockException
Error code -12: thrown if there is no byte remaining in the data of the extended event.

O

offerEvent(int, int) - Static method in class ej.event.EventQueueMock
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[], int) - Static method in class ej.event.EventQueueMock
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 class ej.event.Event
Reads len bytes of data from Event.extendedData and store them into the buffer array b.
readEightBytes() - Method in class ej.event.Event
Gets the next long (8 bytes) of data from Event.extendedData.
readFourBytes() - Method in class ej.event.Event
Gets the next integer (4 bytes) of data from Event.extendedData.
readFully(byte[]) - Method in class ej.event.Event
Reads all the bytes of data from Event.extendedData and store them into the buffer array b.
readOneByte() - Method in class ej.event.Event
Gets the next byte of data from Event.extendedData.
readTwoBytes() - Method in class ej.event.Event
Gets the next short (2 bytes) of data from Event.extendedData.

S

skipBytes(int) - Method in class ej.event.Event
Skips n bytes from Event.extendedData.
startRead() - Method in class ej.event.Event
Starts to read an extended data.
startReadExtendedData(int) - Static method in class ej.event.EventQueueNatives
Starts to read an extended data.

T

TYPE_MASK - Static variable in class ej.event.Event
 

W

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