A B C D E F G H I J K L M N O P Q R S T U W

A

add_escapes(String) - Method in exception org.lwes.db.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addEscapes(String) - Static method in error org.lwes.db.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addEvent(String) - Method in class org.lwes.db.EventTemplateDB
Add an Event to the EventTemplateDB
addEventAttribute(String, String, String) - Method in class org.lwes.db.EventTemplateDB
Add an attribute to an Event in the EventTemplateDB
addHandler(EventHandler) - Method in class org.lwes.listener.DatagramEventListener
Adds an event handler to this listener.
addHandler(EventHandler) - Method in interface org.lwes.listener.EventListener
Add an EventHandler to handle events for processing.
addHandler(EventHandler) - Method in class org.lwes.listener.ThreadedDequeuer
Add an event handler to this dequeuer.
addHandler(String, EventHandler) - Method in class org.lwes.listener.ThreadedDequeuer
Adds a handler to this dequeuer with a specified name.
addHandler(EventHandler) - Method in class org.lwes.listener.ThreadedEventListener
Add an EventHandler to handle events for processing.
adjustBeginLineColumn(int, int) - Method in class org.lwes.db.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
ASCII - Static variable in class org.lwes.util.CharacterEncoding
 
attribute() - Method in class org.lwes.db.ESFParser
 
attributeList() - Method in class org.lwes.db.ESFParser
 
attributeName() - Method in class org.lwes.db.ESFParser
 
AttributeNotSetException - Exception in org.lwes
 
AttributeNotSetException(String) - Constructor for exception org.lwes.AttributeNotSetException
Overrides EventSystemException constructor

B

backup(int) - Method in class org.lwes.db.SimpleCharStream
 
BaseType - Class in org.lwes
This class provides a base type for the base types in the event system.
BaseType() - Constructor for class org.lwes.BaseType
 
BaseType(String, byte) - Constructor for class org.lwes.BaseType
 
BaseType(String, byte, Object) - Constructor for class org.lwes.BaseType
 
beginColumn - Variable in class org.lwes.db.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class org.lwes.db.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in class org.lwes.db.SimpleCharStream
 
BOOLEAN_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for matching a boolean from a string
BOOLEAN_STRING - Static variable in class org.lwes.TypeID
The string used by boolean in the Event Serialization Protocol
BOOLEAN_TOKEN - Static variable in class org.lwes.TypeID
The token used by boolean in the Event Serialization Protocol
bufcolumn - Variable in class org.lwes.db.SimpleCharStream
 
buffer - Variable in class org.lwes.db.SimpleCharStream
 
bufline - Variable in class org.lwes.db.SimpleCharStream
 
bufpos - Variable in class org.lwes.db.SimpleCharStream
 
BYTE_BITS - Static variable in class org.lwes.util.NumberCodec
 
BYTE_BYTES - Static variable in class org.lwes.util.NumberCodec
 
BYTE_MASK - Static variable in class org.lwes.util.NumberCodec
 
byteArrayToHexString(byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Return a String encoding the bytes from a portion of a byte array in hex form.
byteArrayToHexString(byte[]) - Static method in class org.lwes.util.NumberCodec
Return a String encoding the bytes in a byte array in hex form.
byteFromHexString(String) - Static method in class org.lwes.util.NumberCodec
Output a byte in unsigned hexadecimal form, padding with zeroes.
byteIDToString(byte) - Static method in class org.lwes.TypeID
Simple conversion utility
bytesStoreSize(short) - Method in class org.lwes.BaseType
 
bytesStoreSize() - Method in class org.lwes.util.IPAddress
return the size that an IPAddress takes up in a serialized byte array
bytesToString(byte[], CharacterEncoding) - Static method in class org.lwes.util.EncodedString
 
bytesToString(byte[], int, int, CharacterEncoding) - Static method in class org.lwes.util.EncodedString
 

C

CharacterEncoding - Class in org.lwes.util
This is a little class to abstract the character encoding strings that Java uses into classes which can be checked at compile time.
CharacterEncoding() - Constructor for class org.lwes.util.CharacterEncoding
 
checkForAttribute(String, String) - Method in class org.lwes.db.EventTemplateDB
Checks to see if an attribute anAttributeName exists for the event anEventName
checkForEvent(String) - Method in class org.lwes.db.EventTemplateDB
Checks to see if an Event exists in the EventTemplateDB
checkForType(String) - Method in class org.lwes.db.EventTemplateDB
Returns true if the type given by aTypeName is a valid type in the DB.
checkRange(int, byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Verifies that the buffer exists, that the writeable region fits into the buffer, and that the writeable length is long enough.
checkTypeForAttribute(String, String, Object) - Method in class org.lwes.db.EventTemplateDB
Checks to see if the type of an attribute is proper.
checkTypeForAttribute(String, String, String) - Method in class org.lwes.db.EventTemplateDB
Checks to see if the type of an attribute is proper.
clear() - Method in class org.lwes.listener.DatagramQueueElement
Resets this packet to null
cloneBaseType() - Method in class org.lwes.BaseType
 
column - Variable in class org.lwes.db.SimpleCharStream
 
copy() - Method in class org.lwes.Event
Returns a mutable copy of the event.
createEvent(String) - Method in interface org.lwes.emitter.EventEmitter
Create an event with name eventName
createEvent(String, boolean) - Method in interface org.lwes.emitter.EventEmitter
Create an event with name eventName, optionally validating it against an EventTemplateDB
createEvent(String) - Method in class org.lwes.emitter.MulticastEventEmitter
Creates a new event named eventName.
createEvent(String, boolean) - Method in class org.lwes.emitter.MulticastEventEmitter
Creates a new event named eventName.
createEvent(String) - Method in class org.lwes.emitter.UnicastEventEmitter
Creates a new event named eventName.
createEvent(String, boolean) - Method in class org.lwes.emitter.UnicastEventEmitter
Creates a new event named eventName.
createEvent(String) - Method in class org.lwes.EventFactory
Creates a validated event named eventName.
createEvent(String, short) - Method in class org.lwes.EventFactory
Create a validated event named eventName with specified encoding.
createEvent(String, boolean) - Method in class org.lwes.EventFactory
Create an event named eventName and optionally validate the event.
createEvent(String, boolean, short) - Method in class org.lwes.EventFactory
Create an event named eventName with optional validation and specified encoding
createEvent(byte[]) - Method in class org.lwes.EventFactory
Create an event from an array of bytes
createEvent(byte[], boolean) - Method in class org.lwes.EventFactory
Create an event from an array of bytes, with optional validation
curChar - Variable in class org.lwes.db.ESFParserTokenManager
 
currentIndex() - Method in class org.lwes.serializer.DeserializerState
return the current index
currentToken - Variable in exception org.lwes.db.ParseException
This is the last token that has been consumed successfully.

D

DatagramDequeuer - Class in org.lwes.listener
 
DatagramDequeuer() - Constructor for class org.lwes.listener.DatagramDequeuer
 
DatagramEnqueuer - Class in org.lwes.listener
This class listens to packets sent via UDP, and enqueues them for processing.
DatagramEnqueuer() - Constructor for class org.lwes.listener.DatagramEnqueuer
 
DatagramEventListener - Class in org.lwes.listener
This is an event listener that handles UDP packets.
DatagramEventListener() - Constructor for class org.lwes.listener.DatagramEventListener
Default constructor.
DatagramQueueElement - Class in org.lwes.listener
Element objects to use in the threaded queueing system.
DatagramQueueElement() - Constructor for class org.lwes.listener.DatagramQueueElement
Default constructor.
debug(String) - Static method in class org.lwes.util.Log
Log a debug level message
debugStream - Variable in class org.lwes.db.ESFParserTokenManager
 
decodeByte(byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Decode a byte out of a byte-array buffer.
decodeByteUnchecked(byte[], int) - Static method in class org.lwes.util.NumberCodec
Extract and decode a byte out of a byte-array buffer.
decodeInt(byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Decode an int out of a byte-array buffer.
decodeInt(byte[]) - Static method in class org.lwes.util.NumberCodec
Decode a int out of a byte-array buffer.
decodeIntUnchecked(byte[], int) - Static method in class org.lwes.util.NumberCodec
Extract and decode an int out of a byte-array buffer.
decodeLong(byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Decode a long out of a byte-array buffer.
decodeLong(byte[]) - Static method in class org.lwes.util.NumberCodec
Decode a long out of a byte-array buffer.
decodeLongUnchecked(byte[], int) - Static method in class org.lwes.util.NumberCodec
Extract and decode a long out of a byte-array buffer.
decodeShort(byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Decode a short out of a byte-array buffer.
decodeShortUnchecked(byte[], int) - Static method in class org.lwes.util.NumberCodec
Extract and decode a short out of a byte-array buffer.
DEFAULT - Static variable in interface org.lwes.db.ESFParserConstants
 
DEFAULT_ENCODING - Static variable in class org.lwes.Event
 
deserialize(byte[]) - Method in class org.lwes.Event
Deserialize the Event from byte array
deserializeATTRIBUTEWORD(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a String out of the byte array bytes which represents an Attribute name.
deserializeBOOLEAN(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a boolean value out of the byte array bytes
deserializeBYTE(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a byte out of the byte array bytes
deserializeEVENTWORD(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a String out of the byte array bytes which represents an Event name.
deserializeEVENTWORD(DeserializerState, byte[], short) - Static method in class org.lwes.serializer.Deserializer
 
deserializeINT16(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize an int16 out of the byte array bytes
deserializeINT32(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize an int32 out of the byte array bytes
deserializeINT64(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a int64 out of the byte array bytes
deserializeIPADDR(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize an ip_addr out of the byte array bytes
deserializeIPADDRtoHexString(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
 
Deserializer - Class in org.lwes.serializer
This encapuslates the information needed to deserialize the base types of the event system.
Deserializer() - Constructor for class org.lwes.serializer.Deserializer
 
DeserializerState - Class in org.lwes.serializer
An internal class used by the Deserializer to keep track of its state
DeserializerState() - Constructor for class org.lwes.serializer.DeserializerState
Constructor
deserializeSTRING(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deprecated.  
deserializeSTRING(DeserializerState, byte[], short) - Static method in class org.lwes.serializer.Deserializer
 
deserializeUINT16(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a uint16 out of the byte array bytes
deserializeUINT32(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a uint32 out of the byte array bytes
deserializeUINT64(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
Deserialize a uint64 out of the byte array bytes
deserializeUINT64toHexString(DeserializerState, byte[]) - Static method in class org.lwes.serializer.Deserializer
 
disable_tracing() - Method in class org.lwes.db.ESFParser
 
dispatchEvent(Event) - Method in class org.lwes.listener.ThreadedDequeuer
Handles events and calls EventHandler handlers.
Done() - Method in class org.lwes.db.SimpleCharStream
 

E

emit(Event) - Method in interface org.lwes.emitter.EventEmitter
Emits an Event object to the destination
emit(Event) - Method in class org.lwes.emitter.MulticastEventEmitter
Emits the event to the network.
emit(byte[]) - Method in class org.lwes.emitter.MulticastEventEmitter
Emits a byte array to the network.
emit(Event) - Method in class org.lwes.emitter.UnicastEventEmitter
Emits the event to the network.
emit(byte[]) - Method in class org.lwes.emitter.UnicastEventEmitter
Emits a byte array to the network.
emit(byte[], InetAddress, int) - Method in class org.lwes.emitter.UnicastEventEmitter
 
enable_tracing() - Method in class org.lwes.db.ESFParser
 
encodeByte(byte, byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Encode a byte into a byte-array buffer.
encodeByteUnchecked(byte, byte[], int) - Static method in class org.lwes.util.NumberCodec
Encode a byte into a byte-array buffer.
EncodedString - Class in org.lwes.util
EncodedString is a wrapper class which wraps a String, but replaces all methods using a string representation of a character encoding with ones using the CharacterEncoding class, thereby guaranteeing validity and eliminating the need to throw any exceptions.
EncodedString(String, CharacterEncoding) - Constructor for class org.lwes.util.EncodedString
 
EncodedString(byte[], CharacterEncoding) - Constructor for class org.lwes.util.EncodedString
 
EncodedString(byte[], int, int, CharacterEncoding) - Constructor for class org.lwes.util.EncodedString
 
encodeInt(int, byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Encode an int into a byte-array buffer.
encodeInt(int) - Static method in class org.lwes.util.NumberCodec
Encode a int into a byte-array buffer.
encodeIntUnchecked(int, byte[], int) - Static method in class org.lwes.util.NumberCodec
Encode an int into a byte-array buffer.
encodeLong(long, byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Encode a long into a byte-array buffer.
encodeLong(long) - Static method in class org.lwes.util.NumberCodec
Encode a long into a byte-array buffer.
encodeLongUnchecked(long, byte[], int) - Static method in class org.lwes.util.NumberCodec
Encode a long into a byte-array buffer.
encodeShort(short, byte[], int, int) - Static method in class org.lwes.util.NumberCodec
Encode a short into a byte-array buffer.
encodeShortUnchecked(short, byte[], int) - Static method in class org.lwes.util.NumberCodec
Encode a short into a byte-array buffer.
ENCODING - Static variable in class org.lwes.Event
Reserved metadata keywords
ENCODING_STRINGS - Static variable in class org.lwes.Event
 
endColumn - Variable in class org.lwes.db.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class org.lwes.db.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
EOF - Static variable in interface org.lwes.db.ESFParserConstants
 
eol - Variable in exception org.lwes.db.ParseException
The end of line string for this machine.
equals(Object) - Method in class org.lwes.Event
 
equals(Object) - Method in class org.lwes.listener.DatagramQueueElement
Determine equality with an object
equals(DatagramQueueElement) - Method in class org.lwes.listener.DatagramQueueElement
Determine equality with another DatagramQueueElement
equals(Object) - Method in class org.lwes.util.CharacterEncoding
 
equals(Object) - Method in class org.lwes.util.IPAddress
 
error(String) - Static method in class org.lwes.util.Log
Log an error level message
error(String, Throwable) - Static method in class org.lwes.util.Log
Log an error level message, with associated Throwable information
ESFParser - Class in org.lwes.db
 
ESFParser(InputStream) - Constructor for class org.lwes.db.ESFParser
 
ESFParser(InputStream, String) - Constructor for class org.lwes.db.ESFParser
 
ESFParser(Reader) - Constructor for class org.lwes.db.ESFParser
 
ESFParser(ESFParserTokenManager) - Constructor for class org.lwes.db.ESFParser
 
ESFParserConstants - Interface in org.lwes.db
 
ESFParserTokenManager - Class in org.lwes.db
 
ESFParserTokenManager(SimpleCharStream) - Constructor for class org.lwes.db.ESFParserTokenManager
 
ESFParserTokenManager(SimpleCharStream, int) - Constructor for class org.lwes.db.ESFParserTokenManager
 
EUC_JP - Static variable in class org.lwes.util.CharacterEncoding
 
EUC_KR - Static variable in class org.lwes.util.CharacterEncoding
 
event() - Method in class org.lwes.db.ESFParser
a single event
Event - Class in org.lwes
 
Event(String, EventTemplateDB) - Constructor for class org.lwes.Event
Create an event called eventName
Event(String, boolean, EventTemplateDB) - Constructor for class org.lwes.Event
Create an event called eventName
Event(String, boolean, EventTemplateDB, short) - Constructor for class org.lwes.Event
Create an event called eventName
Event(byte[], EventTemplateDB) - Constructor for class org.lwes.Event
Creates an event by deserializing a raw byte array.
Event(byte[], boolean, EventTemplateDB) - Constructor for class org.lwes.Event
Creates an event by deserializing a raw byte array.
EventEmitter - Interface in org.lwes.emitter
EventEmitter is the interface that defines a component that takes an Event and performs an emit task on that event.
EventFactory - Class in org.lwes
 
EventFactory() - Constructor for class org.lwes.EventFactory
EventFactory constructor.
EventHandler - Interface in org.lwes.listener
This interface is implemented by any object that wishes to receive incoming Events.
eventlist() - Method in class org.lwes.db.ESFParser
A list of events
EventListener - Interface in org.lwes.listener
EventListener is an interface defining an event listener that has pluggable event acquisition and handling.
eventName() - Method in class org.lwes.db.ESFParser
The name of an event, should be max 256 chars ([a-zA-Z0-9_]*)
EventPrintingHandler - Class in org.lwes.listener
 
EventPrintingHandler() - Constructor for class org.lwes.listener.EventPrintingHandler
 
EventSystemException - Exception in org.lwes
This is the parent class of all the Exceptions thrown by the event system
EventSystemException(Throwable) - Constructor for exception org.lwes.EventSystemException
Overrides Exception constructor
EventSystemException(String) - Constructor for exception org.lwes.EventSystemException
Overrides Exception constructor
EventSystemException(String, Throwable) - Constructor for exception org.lwes.EventSystemException
Overrides the Exception constructor
EventTemplateDB - Class in org.lwes.db
Provides type checking for the event system.
EventTemplateDB() - Constructor for class org.lwes.db.EventTemplateDB
This is the EventTemplateDB constructor.
ExpandBuff(boolean) - Method in class org.lwes.db.SimpleCharStream
 
expectedTokenSequences - Variable in exception org.lwes.db.ParseException
Each entry in this array is an array of integers.

F

FillBuff() - Method in class org.lwes.db.SimpleCharStream
 
fromStringBOOLEAN(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringBYTE(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringINT16(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringINT32(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringINT64(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringIPADDR(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringSTRING(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringUINT16(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringUINT32(String) - Static method in class org.lwes.serializer.StringParser
 
fromStringUINT64(String) - Static method in class org.lwes.serializer.StringParser
 

G

generateParseException() - Method in class org.lwes.db.ESFParser
 
get(String) - Method in class org.lwes.Event
Generic accessor, checks if an attribute exists and returns its value.
getAddress() - Method in class org.lwes.emitter.UnicastEventEmitter
Gets the address for this emitter.
getAddress() - Method in class org.lwes.listener.DatagramEnqueuer
Gets the network address being used for this listener.
getAddress() - Method in class org.lwes.listener.DatagramEventListener
Gets the address to use for this listener
getBaseTypeForObjectAttribute(String, String, Object) - Method in class org.lwes.db.EventTemplateDB
Given an Object which is the attribute value of the attribute attributeName of event eventName, return the internal representation (i.e.
getBaseTypesForEvent(String) - Method in class org.lwes.db.EventTemplateDB
Returns the base types for this event
getBeginColumn() - Method in class org.lwes.db.SimpleCharStream
 
getBeginLine() - Method in class org.lwes.db.SimpleCharStream
 
getBoolean(String) - Method in class org.lwes.Event
Accessor that returns a boolean value for attribute attributeName
getBytes(String, CharacterEncoding) - Static method in class org.lwes.util.EncodedString
 
getBytes() - Method in class org.lwes.util.EncodedString
 
getByteSize(short) - Method in class org.lwes.BaseType
 
getColumn() - Method in class org.lwes.db.SimpleCharStream
Deprecated.  
getCurrentEvent() - Method in class org.lwes.db.ESFParser
 
getDequeuer() - Method in class org.lwes.listener.ThreadedEventListener
Gets the dequeuer being used by this listener
getDequeuer() - Method in class org.lwes.listener.ThreadedProcessor
Gets the dequeuer being used by this event processor
getDequeuerPriority() - Method in class org.lwes.listener.ThreadedProcessor
Returns the thread priority of the dequeuer.
getEncoding() - Method in class org.lwes.Event
Get the character encoding for this event
getEncodingString() - Method in class org.lwes.util.CharacterEncoding
 
getEndColumn() - Method in class org.lwes.db.SimpleCharStream
 
getEndLine() - Method in class org.lwes.db.SimpleCharStream
 
getEnqueuer() - Method in class org.lwes.listener.ThreadedEventListener
Gets the enqueuer being used by this listener
getEnqueuer() - Method in class org.lwes.listener.ThreadedProcessor
Gets the enqueuer being used by this event processor
getEnqueuerPriority() - Method in class org.lwes.listener.ThreadedProcessor
Returns the thread priority of the enqueuer.
getESFFile() - Method in class org.lwes.db.EventTemplateDB
Gets the ESF file, in case you want to look at it
getESFFile() - Method in class org.lwes.EventFactory
Gets the ESF file used for validation.
getESFFilePath() - Method in interface org.lwes.emitter.EventEmitter
Gets the ESF file used for event validation
getESFFilePath() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the ESF file used for event validation
getESFFilePath() - Method in class org.lwes.emitter.UnicastEventEmitter
Gets the ESF file used for event validation
getESFFilePath() - Method in class org.lwes.EventFactory
Gets the path of an ESF file used for validation.
getESFInputStream() - Method in class org.lwes.db.EventTemplateDB
Ges the ESF InputStream
getESFInputStream() - Method in interface org.lwes.emitter.EventEmitter
Gets the InputStream being used for event validation.
getESFInputStream() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the InputStream being used for event validation.
getESFInputStream() - Method in class org.lwes.emitter.UnicastEventEmitter
Gets the InputStream being used for event validation.
getESFInputStream() - Method in class org.lwes.EventFactory
Gets an InputStream of the ESF file to use for validation.
getEventAttributeNames() - Method in class org.lwes.Event
Returns an enumeration of all the event attribute names
getEventName() - Method in class org.lwes.Event
Returns the name of the event
getEventNames() - Method in class org.lwes.db.EventTemplateDB
Returns an enumeration of all defined events
getEventTemplateDB() - Method in class org.lwes.db.ESFParser
 
getEventTemplateDB() - Method in class org.lwes.Event
Returns the EventTemplateDB for this event, used for validation of types and attributes.
getHandler(String) - Method in class org.lwes.listener.ThreadedDequeuer
Get an event handler by name.
getIANAString() - Method in class org.lwes.util.CharacterEncoding
 
getIdleProcessor() - Method in class org.lwes.listener.ThreadedDequeuer
Gets an idle processor from the list
GetImage() - Method in class org.lwes.db.SimpleCharStream
 
getInetAddress(String) - Method in class org.lwes.Event
Accessor that returns an InetAddress, for attribute attributeName
getInetAddressAsBytes() - Method in class org.lwes.util.IPAddress
Return the IPAddress in a byte array in network order
getInstance(String) - Static method in class org.lwes.util.CharacterEncoding
This is a highly limited implementation at the moment, so don't expect too much from it.
getInt16(String) - Method in class org.lwes.Event
Accessor that returns an short, for attribute attributeName
getInt32(String) - Method in class org.lwes.Event
Accessor that returns an int, for attribute attributeName
getInt64(String) - Method in class org.lwes.Event
Accessor that returns an long, for attribute attributeName
getInterface() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the network interface for this emitter.
getInterface() - Method in class org.lwes.listener.DatagramEnqueuer
Gets the network interface being used for this listener.
getInterface() - Method in class org.lwes.listener.DatagramEventListener
Get the interface to use for this listener
getIPAddress(String) - Method in class org.lwes.Event
Accessor that returns an IP address in bytes, for attribute attributeName
getLine() - Method in class org.lwes.db.SimpleCharStream
Deprecated.  
getMaxThreads() - Method in class org.lwes.listener.DatagramEventListener
Returns the max number of threads allowed by the system.
getMaxThreads() - Method in class org.lwes.listener.ThreadedDequeuer
Gets the maximum number of threads allowed in the system
getMessage() - Method in exception org.lwes.db.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error org.lwes.db.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMulticastAddress() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the multicast address for this emitter.
getMulticastPort() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the multicast port for this emitter.
getNextToken() - Method in class org.lwes.db.ESFParser
 
getNextToken() - Method in class org.lwes.db.ESFParserTokenManager
 
getPacket() - Method in class org.lwes.listener.DatagramQueueElement
Gets the datagram packet payload.
getPort() - Method in class org.lwes.emitter.UnicastEventEmitter
Gets the destination port for this emitter.
getPort() - Method in class org.lwes.listener.DatagramEnqueuer
Gets the port being used for this listener.
getPort() - Method in class org.lwes.listener.DatagramEventListener
Gets the port to use for this listener
getQueue() - Method in class org.lwes.listener.ThreadedDequeuer
Returns the queue to use for this dequeuer
getQueue() - Method in class org.lwes.listener.ThreadedEnqueuer
Returns the queue to use for this enqueuer
getQueue() - Method in class org.lwes.listener.ThreadedProcessor
Returns the List being used as the queue
getString(String) - Method in class org.lwes.Event
Accessor that returns an String, for attribute attributeName
GetSuffix(int) - Method in class org.lwes.db.SimpleCharStream
 
getTabSize(int) - Method in class org.lwes.db.SimpleCharStream
 
getTimestamp() - Method in class org.lwes.listener.DatagramQueueElement
Gets the timestamp associated with this packet
getTimestamp() - Method in interface org.lwes.listener.QueueElement
Get the timestamp this event was created
getTimeToLive() - Method in class org.lwes.emitter.MulticastEventEmitter
Gets the multicast time-to-live for this emitter.
getTimeToLive() - Method in class org.lwes.listener.DatagramEnqueuer
Returns the multicast TTL (if applicable).
getTimeToLive() - Method in class org.lwes.listener.DatagramEventListener
Get the TTL to use for this listener.
getToken(int) - Method in class org.lwes.db.ESFParser
 
getTypeName() - Method in class org.lwes.BaseType
 
getTypeObject() - Method in class org.lwes.BaseType
 
getTypeToken() - Method in class org.lwes.BaseType
 
getUInt16(String) - Method in class org.lwes.Event
Accessor that returns an unsigned short, in the guise of an int, for attribute attributeName
getUInt32(String) - Method in class org.lwes.Event
Accessor that returns an unsigned int, in the guise of an long, for attribute attributeName
getUInt64(String) - Method in class org.lwes.Event
Accessor that returns an unsigned long, in the guise of an BigInteger, for attribute attributeName

H

handleElement(DatagramQueueElement) - Method in class org.lwes.listener.DatagramDequeuer
 
handleEvent(Event) - Method in interface org.lwes.listener.EventHandler
 
handleEvent(Event) - Method in class org.lwes.listener.EventPrintingHandler
 
hashcode() - Method in class org.lwes.util.IPAddress
 
hasPending() - Method in class org.lwes.listener.DatagramDequeuer
Determines whether the collection of pending tasks has any elements.
HEX_INT_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for matching a hexidecimal int from a string
HEX_LONG_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for matching a hexidecimal long from a string
HEX_SHORT_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for matching a hexidecimal short from a string
hexStringToByteArray(String) - Static method in class org.lwes.util.NumberCodec
 

I

ID - Static variable in interface org.lwes.db.ESFParserConstants
 
image - Variable in class org.lwes.db.Token
The string image of the token.
IN_LINE_COMMENT - Static variable in interface org.lwes.db.ESFParserConstants
 
inBuf - Variable in class org.lwes.db.SimpleCharStream
 
incr(int) - Method in class org.lwes.serializer.DeserializerState
Increments the index into a byte array, by a specified amount and returns the new index value.
info(String) - Static method in class org.lwes.util.Log
Log a info level message
initialize() - Method in class org.lwes.db.EventTemplateDB
Initializes the EventTemplateDB, assumes that setESFFile() has been called.
initialize() - Method in interface org.lwes.emitter.EventEmitter
Called before the system is started.
initialize() - Method in class org.lwes.emitter.MulticastEventEmitter
Initializes the emitter.
initialize() - Method in class org.lwes.emitter.UnicastEventEmitter
Initializes the emitter.
initialize() - Method in class org.lwes.EventFactory
Initializes the EventFactory along with pointers to the ESF file
initialize() - Method in class org.lwes.listener.DatagramDequeuer
 
initialize() - Method in class org.lwes.listener.DatagramEnqueuer
 
initialize() - Method in class org.lwes.listener.DatagramEventListener
Initializes the listener.
initialize() - Method in class org.lwes.listener.ThreadedDequeuer
Default initialize() method.
initialize() - Method in class org.lwes.listener.ThreadedEnqueuer
Default initialize() method.
initialize() - Method in class org.lwes.listener.ThreadedEventListener
Initializes this listener, and starts the processor threads
initialize() - Method in class org.lwes.listener.ThreadedProcessor
Initializes the processor to handle events.
input_stream - Variable in class org.lwes.db.ESFParserTokenManager
 
inputStream - Variable in class org.lwes.db.SimpleCharStream
 
INT16_STRING - Static variable in class org.lwes.TypeID
The string used by int16 in the Event Serialization Protocol
INT16_TOKEN - Static variable in class org.lwes.TypeID
The token used by int16 in the Event Serialization Protocol
INT32_STRING - Static variable in class org.lwes.TypeID
The string used by int32 in the Event Serialization Protocol
INT32_TOKEN - Static variable in class org.lwes.TypeID
The token used by int32 in the Event Serialization Protocol
INT64_STRING - Static variable in class org.lwes.TypeID
The string used by int64 in the Event Serialization Protocol
INT64_TOKEN - Static variable in class org.lwes.TypeID
The token used by int64 in the Event Serialization Protocol
INT_BITS - Static variable in class org.lwes.util.NumberCodec
 
INT_BYTES - Static variable in class org.lwes.util.NumberCodec
 
INT_MASK - Static variable in class org.lwes.util.NumberCodec
 
intFromHexString(String) - Static method in class org.lwes.util.NumberCodec
Output an int in unsigned hexadecimal form, padding with zeroes.
IP_ADDR_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for matching an ip address from a string
IPADDR_STRING - Static variable in class org.lwes.TypeID
The string used by ip_addr in the Event Serialization Protocol
IPADDR_TOKEN - Static variable in class org.lwes.TypeID
The token used by ip_addr in the Event Serialization Protocol
IPAddress - Class in org.lwes.util
This is a wrapper class for InetAddress, which allows the setting of an InetAddress with a byte arrays.
IPAddress() - Constructor for class org.lwes.util.IPAddress
Defaut constructor
IPAddress(String) - Constructor for class org.lwes.util.IPAddress
Construct an IPAddress object with a string of the form "%d.%d.%d.%d" representing an InetAddress.
IPAddress(byte[]) - Constructor for class org.lwes.util.IPAddress
Construct an IPAddress object with a byte array containing the InetAddress in little-endian notation.
IPAddress(InetAddress) - Constructor for class org.lwes.util.IPAddress
Construct an IPAddress object with an InetAddress.
isActive() - Method in class org.lwes.listener.ThreadedEventDispatcher
 
isIdle() - Method in class org.lwes.listener.ThreadedEventDispatcher
 
ISO_8859_1 - Static variable in class org.lwes.Event
Encoding variables
ISO_8859_1 - Static variable in class org.lwes.util.CharacterEncoding
 
isValidating() - Method in class org.lwes.Event
Returns true if the event validates against the EventTemplateDB before making changes

J

jj_nt - Variable in class org.lwes.db.ESFParser
 
jjFillToken() - Method in class org.lwes.db.ESFParserTokenManager
 
jjnewLexState - Static variable in class org.lwes.db.ESFParserTokenManager
 
jjstrLiteralImages - Static variable in class org.lwes.db.ESFParserTokenManager
 

K

kind - Variable in class org.lwes.db.Token
An integer that describes the kind of this token.

L

LexicalError(boolean, int, int, int, String, char) - Static method in error org.lwes.db.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
lexStateNames - Static variable in class org.lwes.db.ESFParserTokenManager
 
line - Variable in class org.lwes.db.SimpleCharStream
 
Log - Class in org.lwes.util
This is a wrapper class for logging.
Log() - Constructor for class org.lwes.util.Log
 
LONG_BITS - Static variable in class org.lwes.util.NumberCodec
 
LONG_BYTES - Static variable in class org.lwes.util.NumberCodec
 
longFromHexString(String) - Static method in class org.lwes.util.NumberCodec
Output a long in unsigned hexadecimal form, padding with zeroes.

M

makeAvailable(ThreadedEventDispatcher) - Method in class org.lwes.listener.ThreadedDequeuer
Makes a process available for dispatch
maxNextCharInd - Variable in class org.lwes.db.SimpleCharStream
 
MulticastEventEmitter - Class in org.lwes.emitter
MulticastEventEmitter emits events to multicast groups on the network.
MulticastEventEmitter() - Constructor for class org.lwes.emitter.MulticastEventEmitter
Default constructor.

N

newToken(int) - Static method in class org.lwes.db.Token
Returns a new Token object, by default.
next - Variable in class org.lwes.db.Token
A reference to the next regular (non-special) token from the input stream.
NoSuchAttributeException - Exception in org.lwes
Exception thrown when an attribute does not exist in an Event
NoSuchAttributeException(String) - Constructor for exception org.lwes.NoSuchAttributeException
Overrides EventSystemException constructor
NoSuchAttributeTypeException - Exception in org.lwes
Thrown when the Type does not exist for a given attribute in an Event.
NoSuchAttributeTypeException(String) - Constructor for exception org.lwes.NoSuchAttributeTypeException
Overrides EventSystemException Constructor
NoSuchEventException - Exception in org.lwes
Exception thrown when the given event does not exist in the event system
NoSuchEventException(String) - Constructor for exception org.lwes.NoSuchEventException
Overrides EventSystemException constructor
NumberCodec - Class in org.lwes.util
This is a class to efficiently encode built-in primitive types into byte arrays and decode them back.

O

org.lwes - package org.lwes
 
org.lwes.db - package org.lwes.db
 
org.lwes.emitter - package org.lwes.emitter
 
org.lwes.listener - package org.lwes.listener
 
org.lwes.serializer - package org.lwes.serializer
 
org.lwes.util - package org.lwes.util
 

P

parseAttribute(String, String, String) - Method in class org.lwes.db.EventTemplateDB
Parses the string representation of an event attribute into the appropriate objectt.
ParseException - Exception in org.lwes.db
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.lwes.db.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.lwes.db.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.lwes.db.ParseException
 
parseFromString(String) - Method in class org.lwes.BaseType
 
prevCharIsCR - Variable in class org.lwes.db.SimpleCharStream
 
prevCharIsLF - Variable in class org.lwes.db.SimpleCharStream
 
processor - Variable in class org.lwes.listener.ThreadedEventListener
 

Q

queue - Variable in class org.lwes.listener.ThreadedDequeuer
 
queue - Variable in class org.lwes.listener.ThreadedEnqueuer
 
QueueElement - Interface in org.lwes.listener
Interface needed to define queue elements, which encapsulate incoming events

R

readChar() - Method in class org.lwes.db.SimpleCharStream
 
RECEIPT_TIME - Static variable in class org.lwes.Event
 
ReInit(InputStream) - Method in class org.lwes.db.ESFParser
 
ReInit(InputStream, String) - Method in class org.lwes.db.ESFParser
 
ReInit(Reader) - Method in class org.lwes.db.ESFParser
 
ReInit(ESFParserTokenManager) - Method in class org.lwes.db.ESFParser
 
ReInit(SimpleCharStream) - Method in class org.lwes.db.ESFParserTokenManager
 
ReInit(SimpleCharStream, int) - Method in class org.lwes.db.ESFParserTokenManager
 
ReInit(Reader, int, int, int) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(Reader, int, int) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(Reader) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream, String, int, int, int) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream, String) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream, String, int, int) - Method in class org.lwes.db.SimpleCharStream
 
ReInit(InputStream, int, int) - Method in class org.lwes.db.SimpleCharStream
 
removeHandler(EventHandler) - Method in class org.lwes.listener.DatagramEventListener
Removes an event handler from the system.
removeHandler(EventHandler) - Method in class org.lwes.listener.ThreadedDequeuer
Removes a handler so it no longer is processing events
removeHandler(String) - Method in class org.lwes.listener.ThreadedDequeuer
Removes a handler by name so it no longer is processing events
reset() - Method in class org.lwes.serializer.DeserializerState
reset the object to a clean state
run() - Method in class org.lwes.listener.DatagramDequeuer
 
run() - Method in class org.lwes.listener.DatagramEnqueuer
While running, repeatedly read datagrams and insert them into the queue along with the receipt time and other metadata.
run() - Method in class org.lwes.listener.ThreadedDequeuer
Default run loop.
run() - Method in class org.lwes.listener.ThreadedEnqueuer
Default run() method.
run() - Method in class org.lwes.listener.ThreadedEventDispatcher
 
run() - Method in class org.lwes.listener.ThreadedProcessor
The thread's execution loop.

S

SENDER_IP - Static variable in class org.lwes.Event
 
SENDER_PORT - Static variable in class org.lwes.Event
 
serialize() - Method in class org.lwes.Event
Serializes the Event into a byte array
serializeATTRIBUTEWORD(String, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeBOOLEAN(boolean, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeBYTE(byte, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeEVENTWORD(String, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeINT16(short, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeINT32(int, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeINT64(long, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeIPADDR(IPAddress, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeIPADDR(InetAddress, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
Serializer - Class in org.lwes.serializer
This contains low level type serialization used by the rest of the system.
Serializer() - Constructor for class org.lwes.serializer.Serializer
 
serializeSTRING(String, byte[], int) - Static method in class org.lwes.serializer.Serializer
Deprecated.  
serializeSTRING(String, byte[], int, short) - Static method in class org.lwes.serializer.Serializer
 
serializeUINT16(int, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeUINT32(long, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeUINT64(long, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
serializeUINT64(BigInteger, byte[], int) - Static method in class org.lwes.serializer.Serializer
 
set(String, Object) - Method in class org.lwes.Event
Set the object's attribute attributeName with the Object given
setAddress(InetAddress) - Method in class org.lwes.emitter.UnicastEventEmitter
Sets the destination address for this emitter.
setAddress(InetAddress) - Method in class org.lwes.listener.DatagramEnqueuer
Sets the address being used for this listener.
setAddress(InetAddress) - Method in class org.lwes.listener.DatagramEventListener
Sets the address to use for this listener
setBoolean(String, boolean) - Method in class org.lwes.Event
Sets the given attribute with a boolean value given by aBool.
setBoolean(String, Boolean) - Method in class org.lwes.Event
Sets the given attribute with a Boolean value given by aBool.
setCurrentEvent(String) - Method in class org.lwes.db.ESFParser
 
setDebugStream(PrintStream) - Method in class org.lwes.db.ESFParserTokenManager
 
setDequeuer(ThreadedDequeuer) - Method in class org.lwes.listener.ThreadedEventListener
Sets the dequeuer used by this listener
setDequeuer(ThreadedDequeuer) - Method in class org.lwes.listener.ThreadedProcessor
Sets the dequeuer to use for this event processor.
setDequeuerPriority(int) - Method in class org.lwes.listener.ThreadedProcessor
Sets the thread priority of the dequeuer
setEncoding(short) - Method in class org.lwes.Event
Set the character encoding for event strings
setEnqueuer(ThreadedEnqueuer) - Method in class org.lwes.listener.ThreadedEventListener
Sets the enqueuer to use for this listener
setEnqueuer(ThreadedEnqueuer) - Method in class org.lwes.listener.ThreadedProcessor
Sets the enqueuer to use for this event processor.
setEnqueuerPriority(int) - Method in class org.lwes.listener.ThreadedProcessor
Sets the thread priority of the enqueuer.
setESFFile(File) - Method in class org.lwes.db.EventTemplateDB
Sets the Event Specification file for this system
setESFFile(File) - Method in class org.lwes.EventFactory
Sets an ESF file for validation.
setESFFilePath(String) - Method in interface org.lwes.emitter.EventEmitter
Sets the ESF file used for event validation.
setESFFilePath(String) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets the ESF file used for event validation.
setESFFilePath(String) - Method in class org.lwes.emitter.UnicastEventEmitter
Sets the ESF file used for event validation.
setESFFilePath(String) - Method in class org.lwes.EventFactory
Sets the path of an ESF file to use for validation.
setESFInputStream(InputStream) - Method in class org.lwes.db.EventTemplateDB
Sets the Event Specification file as an InputStream
setESFInputStream(InputStream) - Method in interface org.lwes.emitter.EventEmitter
Sets an InputStream to be used for event validation.
setESFInputStream(InputStream) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets an InputStream to be used for event validation.
setESFInputStream(InputStream) - Method in class org.lwes.emitter.UnicastEventEmitter
Sets an InputStream to be used for event validation.
setESFInputStream(InputStream) - Method in class org.lwes.EventFactory
Sets the InputStream of an ESF file to use for validation
setEventName(String) - Method in class org.lwes.Event
Sets the name of the Event
setEventTemplateDB(EventTemplateDB) - Method in class org.lwes.db.ESFParser
 
setEventTemplateDB(EventTemplateDB) - Method in class org.lwes.Event
Sets the EventTemplateDB for this event, used for validation of types and attributes.
setInt16(String, short) - Method in class org.lwes.Event
Set the given attribute with the short value given by aNumber.
setInt16(String, Short) - Method in class org.lwes.Event
Set the given attribute with the Short value given by aNumber.
setInt32(String, int) - Method in class org.lwes.Event
Set the given attribute with the int value given by aNumber.
setInt32(String, Integer) - Method in class org.lwes.Event
Set the given attribute with the Integer value given by aNumber.
setInt64(String, long) - Method in class org.lwes.Event
Set the given attribute with the long value given by aNumber.
setInt64(String, Long) - Method in class org.lwes.Event
Set the given attribute with the Long value given by aNumber.
setInterface(InetAddress) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets the network interface for this emitter.
setInterface(InetAddress) - Method in class org.lwes.listener.DatagramEnqueuer
Sets the network interface to use for this listener.
setInterface(InetAddress) - Method in class org.lwes.listener.DatagramEventListener
Sets the interface to use for this listener
setIPAddress(String, byte[]) - Method in class org.lwes.Event
Set the given attribute with the ip address value given by address
setIPAddress(String, InetAddress) - Method in class org.lwes.Event
Set the given attribute with the ip address value given by address
setIPAddress(String, IPAddress) - Method in class org.lwes.Event
Set the given attribute with the ip address value given by address
setMaxThreads(int) - Method in class org.lwes.listener.DatagramEventListener
Sets the max number of threads allowed by the system.
setMaxThreads(int) - Method in class org.lwes.listener.ThreadedDequeuer
Sets the maximum number of threads allowed in the system, up to 64.
setMulticastAddress(InetAddress) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets the multicast address for this emitter.
setMulticastPort(int) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets the multicast port for this emitter.
setPacket(DatagramPacket) - Method in class org.lwes.listener.DatagramQueueElement
Sets the datagram packet payload
setPort(int) - Method in class org.lwes.emitter.UnicastEventEmitter
Sets the destination port for this emitter.
setPort(int) - Method in class org.lwes.listener.DatagramEnqueuer
Sets the port being used for this listener.
setPort(int) - Method in class org.lwes.listener.DatagramEventListener
Sets the port to use for this listener
setQueue(List<QueueElement>) - Method in class org.lwes.listener.ThreadedDequeuer
Sets the queue to use for this dequeuer.
setQueue(List<QueueElement>) - Method in class org.lwes.listener.ThreadedEnqueuer
Sets the queue to use for this enqueuer.
setQueue(List<QueueElement>) - Method in class org.lwes.listener.ThreadedProcessor
Sets the List being used as the queue.
setString(String, String) - Method in class org.lwes.Event
Set the given attribute with a String
setTabSize(int) - Method in class org.lwes.db.SimpleCharStream
 
setTask(EventHandler, Event) - Method in class org.lwes.listener.ThreadedEventDispatcher
 
setTimestamp(long) - Method in class org.lwes.listener.DatagramQueueElement
Sets the timestamp associated with this packet
setTimestamp(long) - Method in interface org.lwes.listener.QueueElement
Sets the timestamp for this event
setTimeToLive(int) - Method in class org.lwes.emitter.MulticastEventEmitter
Sets the multicast time-to-live for this emitter.
setTimeToLive(int) - Method in class org.lwes.listener.DatagramEnqueuer
Sets the multicast TTL.
setTimeToLive(int) - Method in class org.lwes.listener.DatagramEventListener
Sets the TTL to use for this listener.
setTypeName(String) - Method in class org.lwes.BaseType
 
setTypeObject(Object) - Method in class org.lwes.BaseType
 
setTypeToken(byte) - Method in class org.lwes.BaseType
 
setUInt16(String, int) - Method in class org.lwes.Event
Set the given attribute with the unsigned short value given by aNumber.
setUInt16(String, Integer) - Method in class org.lwes.Event
Set the given attribute with the Integer value given by aNumber.
setUInt32(String, long) - Method in class org.lwes.Event
Set the given attribute with the unsigned int value given by aNumber.
setUInt32(String, Long) - Method in class org.lwes.Event
Set the given attribute with the Long value given by aNumber.
setUInt64(String, long) - Method in class org.lwes.Event
Set the given attribute with the unsigned long value given by aNumber.
setUInt64(String, Long) - Method in class org.lwes.Event
Set the given attribute with the Long value given by aNumber.
setUInt64(String, BigInteger) - Method in class org.lwes.Event
Set the given attribute with the BigInteger value given by aNumber.
setValidating(boolean) - Method in class org.lwes.Event
Set to true if the event should validate against the EventTemplateDB before making changes
SHIFT_JIS - Static variable in class org.lwes.util.CharacterEncoding
 
SHORT_BITS - Static variable in class org.lwes.util.NumberCodec
 
SHORT_BYTES - Static variable in class org.lwes.util.NumberCodec
 
SHORT_MASK - Static variable in class org.lwes.util.NumberCodec
 
shortFromHexString(String) - Static method in class org.lwes.util.NumberCodec
Output a short in unsigned hexadecimal form, padding with zeroes.
shutdown() - Method in interface org.lwes.emitter.EventEmitter
Called before the system is shut down.
shutdown() - Method in class org.lwes.emitter.MulticastEventEmitter
Shuts down the emitter.
shutdown() - Method in class org.lwes.emitter.UnicastEventEmitter
 
shutdown() - Method in class org.lwes.listener.DatagramDequeuer
 
shutdown() - Method in class org.lwes.listener.DatagramEnqueuer
 
shutdown() - Method in class org.lwes.listener.ThreadedDequeuer
Default shutdown() method.
shutdown() - Method in class org.lwes.listener.ThreadedEnqueuer
Default shutdown() method.
shutdown() - Method in class org.lwes.listener.ThreadedEventListener
 
shutdown() - Method in class org.lwes.listener.ThreadedProcessor
Shuts down the event listener.
SIGNED_INTEGER_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for parsing an integer number from a string
SimpleCharStream - Class in org.lwes.db
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(Reader, int, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream, String, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream, String) - Constructor for class org.lwes.db.SimpleCharStream
 
SimpleCharStream(InputStream) - Constructor for class org.lwes.db.SimpleCharStream
 
size() - Method in class org.lwes.Event
Returns the number of attributes in the event
specialConstructor - Variable in exception org.lwes.db.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class org.lwes.db.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
staticFlag - Static variable in class org.lwes.db.SimpleCharStream
 
STRING_STRING - Static variable in class org.lwes.TypeID
The string used by string in the Event Serialization Protocol
STRING_TOKEN - Static variable in class org.lwes.TypeID
The token used by string in the Event Serialization Protocol
StringParser - Class in org.lwes.serializer
This contains low level type serialization used by the rest of the system.
StringParser() - Constructor for class org.lwes.serializer.StringParser
 
stringToByteID(String) - Static method in class org.lwes.TypeID
Another conversion utility
SwitchTo(int) - Method in class org.lwes.db.ESFParserTokenManager
 

T

tabSize - Variable in class org.lwes.db.SimpleCharStream
 
ThreadedDequeuer - Class in org.lwes.listener
An abstract consumer of events.
ThreadedDequeuer() - Constructor for class org.lwes.listener.ThreadedDequeuer
Default constructor.
ThreadedEnqueuer - Class in org.lwes.listener
 
ThreadedEnqueuer() - Constructor for class org.lwes.listener.ThreadedEnqueuer
Default constructor.
ThreadedEventDispatcher - Class in org.lwes.listener
Dispatches events to downstream handlers using threads.
ThreadedEventDispatcher(ThreadedDequeuer) - Constructor for class org.lwes.listener.ThreadedEventDispatcher
 
ThreadedEventListener - Class in org.lwes.listener
 
ThreadedEventListener() - Constructor for class org.lwes.listener.ThreadedEventListener
Default constructor.
ThreadedProcessor - Class in org.lwes.listener
A threaded, queueing event processor.
ThreadedProcessor() - Constructor for class org.lwes.listener.ThreadedProcessor
Default constructor.
toHexString(byte) - Static method in class org.lwes.util.NumberCodec
Output a byte in unsigned hexadecimal form, padding with zeroes.
toHexString(short) - Static method in class org.lwes.util.NumberCodec
Output a short in unsigned hexadecimal form, padding with zeroes.
toHexString(int) - Static method in class org.lwes.util.NumberCodec
Output an int in unsigned hexadecimal form, padding with zeroes.
toHexString(long) - Static method in class org.lwes.util.NumberCodec
Output a long in unsigned hexadecimal form, padding with zeroes.
toHexString(BigInteger) - Static method in class org.lwes.util.NumberCodec
Output a BigInteger in unsigned hexadecimal form, padding with zeroes.
toHtmlString() - Method in class org.lwes.db.EventTemplateDB
Returns a HTML rendering of the EventTemplateDB
toInetAddress() - Method in class org.lwes.util.IPAddress
Get the InetAddress representing this IPAddress
toInt() - Method in class org.lwes.util.IPAddress
Return the IPAddress in as an integer
token - Variable in class org.lwes.db.ESFParser
 
Token - Class in org.lwes.db
Describes the input token stream.
Token() - Constructor for class org.lwes.db.Token
 
token_source - Variable in class org.lwes.db.ESFParser
 
tokenImage - Static variable in interface org.lwes.db.ESFParserConstants
 
tokenImage - Variable in exception org.lwes.db.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
TokenMgrError - Error in org.lwes.db
 
TokenMgrError() - Constructor for error org.lwes.db.TokenMgrError
 
TokenMgrError(String, int) - Constructor for error org.lwes.db.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.lwes.db.TokenMgrError
 
toString() - Method in class org.lwes.BaseType
 
toString() - Method in class org.lwes.db.EventTemplateDB
Returns a rather long string Representation of the EventTemplateDB
toString() - Method in class org.lwes.db.Token
Returns the image.
toString() - Method in class org.lwes.Event
Returns a String representation of this event
toString() - Method in class org.lwes.serializer.DeserializerState
Returns a String representation of this object Overrides method in Object
toString() - Method in class org.lwes.util.EncodedString
 
toString() - Method in class org.lwes.util.IPAddress
return a string representation of an IPAddress in the following format "%d.%d.%d.%d".
trace(String) - Static method in class org.lwes.util.Log
Log a trace level message
type() - Method in class org.lwes.db.ESFParser
 
TypeID - Class in org.lwes
This class contains some global variables used in various parts of the event system.
TypeID() - Constructor for class org.lwes.TypeID
 

U

UINT16_STRING - Static variable in class org.lwes.TypeID
The string used by uint16 in the Event Serialization Protocol
UINT16_TOKEN - Static variable in class org.lwes.TypeID
The token used by uint16 in the Event Serialization Protocol
UINT32_STRING - Static variable in class org.lwes.TypeID
The string used by uint32 in the Event Serialization Protocol
UINT32_TOKEN - Static variable in class org.lwes.TypeID
The token used by uint32 in the Event Serialization Protocol
UINT64_STRING - Static variable in class org.lwes.TypeID
The string used by uint64 in the Event Serialization Protocol
UINT64_TOKEN - Static variable in class org.lwes.TypeID
The token used by uint64 in the Event Serialization Protocol
UNDEFINED_TOKEN - Static variable in class org.lwes.TypeID
The token used for undefined types in LWES
UnicastEventEmitter - Class in org.lwes.emitter
UnicastEventEmitter emits events as unicast datagrams on the network.
UnicastEventEmitter() - Constructor for class org.lwes.emitter.UnicastEventEmitter
Default constructor.
UNSIGNED_INTEGER_REGEX - Static variable in class org.lwes.TypeID
This is a regular expression for parsing an unsigned integer number from a string
UpdateLineColumn(char) - Method in class org.lwes.db.SimpleCharStream
 
UTF_8 - Static variable in class org.lwes.Event
 
UTF_8 - Static variable in class org.lwes.util.CharacterEncoding
 

W

warning(String) - Static method in class org.lwes.util.Log
Log a warning level message
warning(String, Throwable) - Static method in class org.lwes.util.Log
Log an warning level message, with associated Throwable information
writeHexString(byte, StringBuffer) - Static method in class org.lwes.util.NumberCodec
Write a byte in unsigned hexadecimal form, padding with zeroes.
writeHexString(short, StringBuffer) - Static method in class org.lwes.util.NumberCodec
Write a short in unsigned hexadecimal form, padding with zeroes.
writeHexString(int, StringBuffer) - Static method in class org.lwes.util.NumberCodec
Write a int in unsigned hexadecimal form, padding with zeroes.
writeHexString(long, StringBuffer) - Static method in class org.lwes.util.NumberCodec
Write a long in unsigned hexadecimal form, padding with zeroes.
writeHexString(byte, byte[], int) - Static method in class org.lwes.util.NumberCodec
Write a byte in unsigned hexadecimal form, padding with zeroes.
writeHexString(short, byte[], int) - Static method in class org.lwes.util.NumberCodec
Write a short in unsigned hexadecimal form, padding with zeroes.
writeHexString(int, byte[], int) - Static method in class org.lwes.util.NumberCodec
Write a int in unsigned hexadecimal form, padding with zeroes.
writeHexString(long, byte[], int) - Static method in class org.lwes.util.NumberCodec
Write a long in unsigned hexadecimal form, padding with zeroes.

A B C D E F G H I J K L M N O P Q R S T U W