Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

ACTION_CHANGE - Static variable in class nl.tno.imb.TEventEntry
signal an object change: an existing object has changed
ACTION_DELETE - Static variable in class nl.tno.imb.TEventEntry
signal an object change: an object is deleted
ACTION_NEW - Static variable in class nl.tno.imb.TEventEntry
signal an object change: a new object is created
AddMessage(Date, String, String) - Method in class org.opentrafficsim.imb.demo.IMBChat
Add received message to the message received box
autoPublish - Variable in class nl.tno.imb.TConnection
when true events send on not-publuished events are automatically published

B

btnConnect - Variable in class org.opentrafficsim.imb.demo.IMBChat
Initiate connection to the IMB hub.

C

CHANGE - Static variable in interface org.opentrafficsim.imb.observers.Observer
The object changed state.
clear() - Method in class nl.tno.imb.TByteBuffer
Clear the byte buffer to zero length and reset all cursors
clear(int) - Method in class nl.tno.imb.TByteBuffer
Clear the byte buffer to the specified length and reset all cursors.
close() - Method in class nl.tno.imb.TConnection
Closes the connection and cleans up socket, streams and thread
compare(byte[], int) - Method in class nl.tno.imb.TByteBuffer
Compare the contents of this byte buffer at the read cursor to a given byte array
Connect() - Method in class org.opentrafficsim.imb.demo.IMBChat
Connect to the hub.
convertDateToWindowsTime(Date) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a Date to windows time.
convertMillisecondsToWindowsTime(long) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a java time in milliseconds to windows time
convertWindowsTimeToDate(double) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a time.
convertWindowsTimeToMilliseconds(double) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Convert a time.
copyHandlersFrom(TEventEntry) - Method in class nl.tno.imb.TEventEntry
 

D

DecodeServerURIPort(String) - Static method in class nl.tno.imb.TLocator
 
DecodeServerURIServer(String) - Static method in class nl.tno.imb.TLocator
 
DEFAULT_FEDERATION - Static variable in class nl.tno.imb.TConnection
value to be used when no specific federation is used
DEFAULT_HUB - Static variable in class nl.tno.imb.TConnection
value to be used when no specific remote server is used
DEFAULT_PORT - Static variable in class nl.tno.imb.TConnection
value to be used when no specific port is used
DELETE - Static variable in interface org.opentrafficsim.imb.observers.Observer
The object was destroyed.
Disconnect() - Method in class org.opentrafficsim.imb.demo.IMBChat
Close the connection to the IMB hub.
dispatch(TConnection) - Method in interface nl.tno.imb.TConnection.TOnDisconnect
 
dispatch(TConnection, TConnection.TEventNameEntry[]) - Method in interface nl.tno.imb.TConnection.TOnEventnames
 
dispatch(TConnection, String, String, int, int) - Method in interface nl.tno.imb.TConnection.TOnStatusUpdate
 
dispatch(TConnection, int, String) - Method in interface nl.tno.imb.TConnection.TOnSubAndPub
 
dispatch(TConnection, String, byte[], byte[]) - Method in interface nl.tno.imb.TConnection.TOnVariable
 
dispatch(TEventEntry, int, int, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnBuffer
 
dispatch(TConnection, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnChangeFederation
 
dispatch(int, int, String, String) - Method in interface nl.tno.imb.TEventEntry.TOnChangeObject
 
dispatch(TEventEntry, int, int, String, TByteBuffer, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnChangeObjectData
 
dispatch(TEventEntry, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnChildEvent
 
dispatch(double, double) - Method in interface nl.tno.imb.TEventEntry.TOnFocus
 
dispatch(TEventEntry, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnNormalEvent
 
dispatch(TEventEntry, int, int, TByteBuffer) - Method in interface nl.tno.imb.TEventEntry.TOnOtherEvent
 
dispatch(TEventEntry, String) - Method in interface nl.tno.imb.TEventEntry.TOnStreamCreate
 
dispatch(TEventEntry, OutputStream, String) - Method in interface nl.tno.imb.TEventEntry.TOnStreamEnd
 
dispatch(TEventEntry, int) - Method in interface nl.tno.imb.TEventEntry.TOnSubAndPubEvent
 
dispatch(TEventEntry, int, String) - Method in interface nl.tno.imb.TEventEntry.TOnTimerCmd
 
dispatch(TEventEntry, String, int, long, long) - Method in interface nl.tno.imb.TEventEntry.TOnTimerTick
 

E

EF_PUBLISHERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting publisher counts
EF_SUBSCRIBERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting subscriber counts
EF_TIMERS - Static variable in class nl.tno.imb.TConnection
request event name filter: requesting timer counts
EK_BUFFER - Static variable in class nl.tno.imb.TEventEntry
event kind: buffer event
EK_CHANGE_OBJECT_DATA_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: change object including changed data
EK_CHANGE_OBJECT_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: change object
EK_CHILD_EVENT_ADD - Static variable in class nl.tno.imb.TEventEntry
event kind: a child event was created
EK_CHILD_EVENT_REMOVE - Static variable in class nl.tno.imb.TEventEntry
event kind: a child event was removed
EK_LOG_WRITELN - Static variable in class nl.tno.imb.TEventEntry
event kind: send a line to the log
EK_NORMAL_EVENT - Static variable in class nl.tno.imb.TEventEntry
event kind: normal event
EK_STREAM_BODY - Static variable in class nl.tno.imb.TEventEntry
event kind: body of a stream
EK_STREAM_HEADER - Static variable in class nl.tno.imb.TEventEntry
event kind: header of a stream
EK_STREAM_TAIL - Static variable in class nl.tno.imb.TEventEntry
event kind: end of a stream
EK_TIMER_ACKNOWLEDGE - Static variable in class nl.tno.imb.TEventEntry
event kind: acknowledge timer tick
EK_TIMER_ACKNOWLEDGE_LIST_ADD - Static variable in class nl.tno.imb.TEventEntry
event kind: add client to the acknowledge list of a timer
EK_TIMER_ACKNOWLEDGE_LIST_REMOVE - Static variable in class nl.tno.imb.TEventEntry
event kind: remove client from the acknowledge list of a timer
EK_TIMER_CANCEL - Static variable in class nl.tno.imb.TEventEntry
event kind: cancel/remove a running timer
EK_TIMER_PREPARE - Static variable in class nl.tno.imb.TEventEntry
event kind: reset a timer
EK_TIMER_SET_SPEED - Static variable in class nl.tno.imb.TEventEntry
event kind: set the relative speed of the timer
EK_TIMER_START - Static variable in class nl.tno.imb.TEventEntry
event kind: start or continue a timer
EK_TIMER_STATUS_REQUEST - Static variable in class nl.tno.imb.TEventEntry
event kind: request status update of a timer
EK_TIMER_STOP - Static variable in class nl.tno.imb.TEventEntry
event kind: stop a running timer
EK_TIMER_TICK - Static variable in class nl.tno.imb.TEventEntry
event kind: timer tick
EVENT_FILTER_POST_FIX - Static variable in class nl.tno.imb.TConnection
 
eventName - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 

F

feventName - Variable in class nl.tno.imb.TEventEntry
 
finalize() - Method in class nl.tno.imb.TConnection
 
fparent - Variable in class nl.tno.imb.TEventEntry
 

G

getBuffer() - Method in class nl.tno.imb.TByteBuffer
Retrieve reference to internal byte buffer
getClientHandle() - Method in class nl.tno.imb.TConnection
Returns the client handle the hub assigned to this connection
getEventName() - Method in class nl.tno.imb.TEventEntry
Returns the fully qualified name of this event
getFederation() - Method in class nl.tno.imb.TConnection
Returns the current federation
getLength() - Method in class nl.tno.imb.TByteBuffer
length of the byte buffer in bytes
getLinger() - Method in class nl.tno.imb.TConnection
Returns the status of the linger option on the connected socket
getNoDelay() - Method in class nl.tno.imb.TConnection
Returns the state of the NAGLE algorithm on the connected socket
getOwnerID() - Method in class nl.tno.imb.TConnection
Returns the currently specified owner id
getOwnerName() - Method in class nl.tno.imb.TConnection
Returns the currently specified owner name
getReadAvailable() - Method in class nl.tno.imb.TByteBuffer
Retrieve the bytes that still can be read from the byte buffer
getReadCursor() - Method in class nl.tno.imb.TByteBuffer
Retrieve the current reading (cursor) position
getRemoteHost() - Method in class nl.tno.imb.TConnection
Returns the IP address or DNS name of the currently connected hub
getRemotePort() - Method in class nl.tno.imb.TConnection
Returns the TCP port of the currently connected hub
getShortEventName() - Method in class nl.tno.imb.TEventEntry
 
getUniqueClientID() - Method in class nl.tno.imb.TConnection
Returns the unique client id the hub assigned to this connection
getwriteAvailable() - Method in class nl.tno.imb.TByteBuffer
Returns the room still available in the byte buffer to write data to without reallocating memory.
getWriteCursor() - Method in class nl.tno.imb.TByteBuffer
Retrieve the current writing (cursor) position

H

handleCommandOther(int, TByteBuffer) - Method in class nl.tno.imb.TConnection
 
handleEvent(TByteBuffer) - Method in class nl.tno.imb.TEventEntry
 
handleSubAndPub(int) - Method in class nl.tno.imb.TEventEntry
 

I

IC_ALL_VARIABLES - Static variable in class nl.tno.imb.TEventEntry
 
IC_CREATE_TIMER - Static variable in class nl.tno.imb.TEventEntry
 
IC_END_OF_SESSION - Static variable in class nl.tno.imb.TEventEntry
 
IC_EVENT - Static variable in class nl.tno.imb.TEventEntry
 
IC_EVENT_NAMES - Static variable in class nl.tno.imb.TEventEntry
 
IC_HUB_FOUND - Static variable in class nl.tno.imb.TEventEntry
 
IC_HUB_LOCATE - Static variable in class nl.tno.imb.TEventEntry
 
IC_INVALID_COMMAND - Static variable in class nl.tno.imb.TEventEntry
 
IC_PUBLISH - Static variable in class nl.tno.imb.TEventEntry
 
IC_REQUEST_EVENT_NAMES - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_CLIENT_INFO - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_EVENT_ID_TRANSLATION - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_STATE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_THROTTLE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_VARIABLE - Static variable in class nl.tno.imb.TEventEntry
 
IC_SET_VARIABLE_PREFIXED - Static variable in class nl.tno.imb.TEventEntry
 
IC_SUBSCRIBE - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNIQUE_CLIENT_ID - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNPUBLISH - Static variable in class nl.tno.imb.TEventEntry
 
IC_UNSUBSCRIBE - Static variable in class nl.tno.imb.TEventEntry
 
ICE_CONNECTION_CLOSED - Static variable in class nl.tno.imb.TConnection
command result: the connection is closed
ICE_EVENT_NOT_PUBLISHED - Static variable in class nl.tno.imb.TConnection
command result: the event was not published
ID - Variable in class nl.tno.imb.TEventEntry
The local ID related to this event
imb2Compatible - Variable in class nl.tno.imb.TConnection
when true IMB2 features are used if possible to emulate IMB3 behavior
IMBChat - Class in org.opentrafficsim.imb.demo
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IMBChat() - Constructor for class org.opentrafficsim.imb.demo.IMBChat
Create the window.
IMBObserver - Class in org.opentrafficsim.imb.observers
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IMBObserver(String, int, String, int, String) - Constructor for class org.opentrafficsim.imb.observers.IMBObserver
Construct a new connection for sending events to IMB.
IMBTransmitter - Class in org.opentrafficsim.imb.observers
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
IMBTransmitter() - Constructor for class org.opentrafficsim.imb.observers.IMBTransmitter
 
isConnected() - Method in class nl.tno.imb.TConnection
Returns the connected state of the connection
isEmpty() - Method in class nl.tno.imb.TByteBuffer
Check if the byte buffer is empty
isEmpty() - Method in class nl.tno.imb.TEventEntry
 
isPublished() - Method in class nl.tno.imb.TEventEntry
Returns true if this event is published
isSubscribed() - Method in class nl.tno.imb.TEventEntry
Returns true if this event is subscribed

L

LocateServerURI(boolean, int, int) - Static method in class nl.tno.imb.TLocator
 
logWriteLn(String, String, TEventEntry.TLogLevel) - Method in class nl.tno.imb.TConnection
Log an entry to the framework
logWriteLn(String, TEventEntry.TLogLevel) - Method in class nl.tno.imb.TEventEntry
Send a line to the central framework log

M

MAGIC_BYTES - Static variable in class nl.tno.imb.TConnection
magic bytes to identify the start of a valid IMB packet
MAGIC_STRING_CHECK - Static variable in class nl.tno.imb.TConnection
magic bytes to identify the end of the payload on a valid IMB packet (as array of bytes)
main(String[]) - Static method in class org.opentrafficsim.imb.demo.IMBChat
Start up the application.
MAX_PAYLOAD_SIZE - Static variable in class nl.tno.imb.TConnection
The maximum size of the payload in a low level IMB command

N

NEW - Static variable in interface org.opentrafficsim.imb.observers.Observer
New object was created.
nl.tno.imb - package nl.tno.imb
notify(EventInterface) - Method in class org.opentrafficsim.imb.observers.IMBTransmitter

O

Observer - Interface in org.opentrafficsim.imb.observers
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
onBuffer - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a buffer event
onChangeFederation - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a federation change event
onChangeObject - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a change object event
onChangeObjectData - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a change object with data event
onChildEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a child add/remove event
onDisconnect - Variable in class nl.tno.imb.TConnection
Handler to be called on a disconnect
onEventNames - Variable in class nl.tno.imb.TConnection
Handler to be called on a event names request callback
onFocus - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a focus event
onNormalEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a normal event
onOtherEvent - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of an unhandled event
onStreamCreate - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a stream header event
onStreamEnd - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a stream tail event
onSubAndPub - Variable in class nl.tno.imb.TConnection
 
onSubAndPub - Variable in class nl.tno.imb.TEventEntry
 
onTimerCmd - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a timer command reset/start/stop
onTimerTick - Variable in class nl.tno.imb.TEventEntry
Handler to be called on receive of a timer tick event
open(String, int) - Method in class nl.tno.imb.TConnection
 
open(String, int, boolean) - Method in class nl.tno.imb.TConnection
 
org.opentrafficsim.imb.demo - package org.opentrafficsim.imb.demo
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
org.opentrafficsim.imb.observers - package org.opentrafficsim.imb.observers
Observers, like IMB.

P

peekBoolean(int) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekBoolean(int, boolean) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekByte(int) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekByte(int, byte) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekDouble(int) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekDouble(int, double) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt32(int) - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt32(int, int) - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt64(int) - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer (long) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekInt64(int, long) - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer (long) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekSingle(int) - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekSingle(int, float) - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekString(int) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer at an offset to the read cursor without advancing the read cursor.
peekString(int, String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer at an offset to the read cursor without advancing the read cursor.
postMessage(String, int, Object[]) - Method in class org.opentrafficsim.imb.observers.IMBObserver
Compose a message containing the specified objects and send it to recipients.
postMessage(String, int, Object[]) - Method in interface org.opentrafficsim.imb.observers.Observer
Compose a message containing the specified objects and send it to recipients.
prefixFederation(String) - Method in class nl.tno.imb.TConnection
 
prefixFederation(String, boolean) - Method in class nl.tno.imb.TConnection
 
prepare(boolean) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a boolean.
prepare(byte) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a byte.
prepare(int) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an 32 bit integer.
prepare(long) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an 64 bit integer (long).
prepare(float) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a 32 bit single (float).
prepare(double) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a double.
prepare(String) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a string.
prepare(byte[]) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of a byte array (without size).
prepare(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of an other byte buffers readable data.
prepareApply() - Method in class nl.tno.imb.TByteBuffer
Adjusts the length of the byte buffer to accommodate at a minimum all prepared data
prepareApplyAndTrim() - Method in class nl.tno.imb.TByteBuffer
Adjusts the length of the byte buffer to accommodate exactly all prepared data
prepareSize(int) - Method in class nl.tno.imb.TByteBuffer
Prepares the byte buffer for later writing of the specified number of bytes.
prepareStart() - Method in class nl.tno.imb.TByteBuffer
Start prepare sequence.
publish(String) - Method in class nl.tno.imb.TConnection
Publishes on the specified event
publish(String, boolean) - Method in class nl.tno.imb.TConnection
Publishes on the specified event
publish() - Method in class nl.tno.imb.TEventEntry
 
publishers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
publishers() - Method in class nl.tno.imb.TEventEntry
 

Q

qReadBoolean() - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer without any checks
qReadByte() - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer without any checks
qReadByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read a byte buffer this byte buffer without any checks Read size and data and store as a whole WITHOUT size (size=length buffer)
qReadDouble(double) - Method in class nl.tno.imb.TByteBuffer
Read a double from the byte buffer without any checks
qReadInt32() - Method in class nl.tno.imb.TByteBuffer
Read an 32 bit integer from the byte buffer without any checks
qReadInt64() - Method in class nl.tno.imb.TByteBuffer
Read an 64 bit integer from the byte buffer without any checks
qReadSingle() - Method in class nl.tno.imb.TByteBuffer
Read a single (32 bit float) from the byte buffer without any checks
qReadString(String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer without any checks
qWrite(boolean) - Method in class nl.tno.imb.TByteBuffer
write a boolean to the buffer; the QWrite methods do not check for room in the buffer
qWrite(byte) - Method in class nl.tno.imb.TByteBuffer
write a single byte to the buffer; the QWrite methods do not check for room in the buffer
qWrite(int) - Method in class nl.tno.imb.TByteBuffer
write a single integer (32 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(long) - Method in class nl.tno.imb.TByteBuffer
write a single integer (64 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(float) - Method in class nl.tno.imb.TByteBuffer
write a single float (32 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(double) - Method in class nl.tno.imb.TByteBuffer
write a single double (64 bit) to the buffer; the QWrite methods do not check for room in the buffer
qWrite(String) - Method in class nl.tno.imb.TByteBuffer
Write a string to the buffer, prefixed with the size as a 32 bit integer.
qWrite(byte[]) - Method in class nl.tno.imb.TByteBuffer
write array of byte WITHOUT size; the QWrite methods do not check for room in the buffer
qWrite(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
write, with no checking, all readable data from the given byte buffer to this prefixed WITH size

R

readBoolean() - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer
readBoolean(boolean) - Method in class nl.tno.imb.TByteBuffer
Read a boolean from the byte buffer
readByte() - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer
readByte(byte) - Method in class nl.tno.imb.TByteBuffer
Read a byte from the byte buffer
readByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read new byte buffer contents from this byte buffer.
readByteBuffer(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Read size and data and store as a whole WITHOUT size (size=length buffer)
readCommandsNonBlocking() - Method in class nl.tno.imb.TConnection
Manually reading commands when not using a reader thread.
readCommandsNonThreaded(int) - Method in class nl.tno.imb.TConnection
Manually reading commands when not using a reader thread.
readDouble() - Method in class nl.tno.imb.TByteBuffer
Read a double float from the byte buffer
readDouble(double) - Method in class nl.tno.imb.TByteBuffer
Read a double float from the byte buffer
readInt32() - Method in class nl.tno.imb.TByteBuffer
Read an integer (32 bit) from the byte buffer
readInt32(int) - Method in class nl.tno.imb.TByteBuffer
Read an integer (32 bit) from the byte buffer
readInt64() - Method in class nl.tno.imb.TByteBuffer
Read an integer (64 bit) from the byte buffer
readInt64(long) - Method in class nl.tno.imb.TByteBuffer
Read an integer (64 bit) from the byte buffer
readRest() - Method in class nl.tno.imb.TByteBuffer
Read all data available from the read cursor
readRestToByteBuffer() - Method in class nl.tno.imb.TByteBuffer
Read all data available from the read cursor in this byte buffer to a newly created byte buffer
readSingle() - Method in class nl.tno.imb.TByteBuffer
Read a single float from the byte buffer
readSingle(float) - Method in class nl.tno.imb.TByteBuffer
Read a single float from the byte buffer
ReadStart() - Method in class nl.tno.imb.TByteBuffer
Reset the reading cursor
readString() - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer.
readString(String) - Method in class nl.tno.imb.TByteBuffer
Read a string from the byte buffer.
removeStatus() - Method in class nl.tno.imb.TConnection
Removes the current status for this client
requestAllVariables() - Method in class nl.tno.imb.TConnection
Send a request to the framework to send all variables with their contents to this client
requestEventname(String, int) - Method in class nl.tno.imb.TConnection
Query the framework for registered event names

S

Send() - Method in class org.opentrafficsim.imb.demo.IMBChat
Send the message in the editMessage buffer to the IMB hub and clear the editMessage buffer.
setFederation(String) - Method in class nl.tno.imb.TConnection
Set the current federation.
setLinger(boolean) - Method in class nl.tno.imb.TConnection
Sets the status of the linger option on the connected socket
setNoDelay(boolean) - Method in class nl.tno.imb.TConnection
Sets the state of the NAGLE algorithm on the socket
setOnStatusUpdate(TConnection.TOnStatusUpdate) - Method in class nl.tno.imb.TConnection
Set the callback handler for status updates
setOnVariable(TConnection.TOnVariable) - Method in class nl.tno.imb.TConnection
Set the callback handler for framework variable changes
setOwnerID(int) - Method in class nl.tno.imb.TConnection
Changes the owner id
setOwnerName(String) - Method in class nl.tno.imb.TConnection
Changes the owner name
setState(TConnection.TConnectionState) - Method in class nl.tno.imb.TConnection
 
setThrottle(int) - Method in class nl.tno.imb.TConnection
Throttle down buffer events send to this client if specific flags are set on events
setVariableValue(String, String) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, TByteBuffer) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, String, TConnection.TVarPrefix) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
setVariableValue(String, TByteBuffer, TConnection.TVarPrefix) - Method in class nl.tno.imb.TConnection
Set the value of a global framework variable
shiftLeftOneByte(byte) - Method in class nl.tno.imb.TByteBuffer
Shift all bytes in the byte buffer to the left and insert a new byte to the right (end of byte buffer)
signalBuffer(String, int, byte[]) - Method in class nl.tno.imb.TConnection
Send a buffer event to the framework.
signalBuffer(String, int, byte[], int, boolean) - Method in class nl.tno.imb.TConnection
Send a buffer event to the framework.
signalBuffer(int, byte[]) - Method in class nl.tno.imb.TEventEntry
Send a buffer event to the framework
signalBuffer(int, byte[], int) - Method in class nl.tno.imb.TEventEntry
Send a buffer event to the framework
signalChangeFederation(int, String) - Method in class nl.tno.imb.TConnection
Signal a new federation to the framework
signalChangeObject(String, int, int, String) - Method in class nl.tno.imb.TConnection
Send a ChangeObject event to the framework This is the simple way to send events.
signalChangeObject(String, int, int, String, boolean) - Method in class nl.tno.imb.TConnection
Send a ChangeObject event to the framework This is the simple way to send events.
signalChangeObject(int, int, String) - Method in class nl.tno.imb.TEventEntry
Send a change object event to the framework
signalEvent(String, int, TByteBuffer) - Method in class nl.tno.imb.TConnection
Send an event to the framework.
signalEvent(String, int, TByteBuffer, boolean) - Method in class nl.tno.imb.TConnection
Send an event to the framework.
signalEvent(int, byte[]) - Method in class nl.tno.imb.TEventEntry
Send an event to the framework
signalFocus(double, double) - Method in class nl.tno.imb.TConnection
Signal a new focus point to the framework
signalStream(String, String, InputStream) - Method in class nl.tno.imb.TConnection
Send a stream to the framework
signalStream(String, String, InputStream, boolean) - Method in class nl.tno.imb.TConnection
Send a stream to the framework
signalStream(String, InputStream) - Method in class nl.tno.imb.TEventEntry
Send a stream to the framework
SIZE_OF_BOOLEAN - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of boolean within IMB framework
SIZE_OF_BYTE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of byte within IMB framework
SIZE_OF_DOUBLE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of double within IMB framework
SIZE_OF_INT32 - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of 32 bit integer within IMB framework
SIZE_OF_INT64 - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of 64 bit integer within IMB framework
SIZE_OF_SINGLE - Static variable in class nl.tno.imb.TByteBuffer
uncompressed size of single within IMB framework
skipReading(int) - Method in class nl.tno.imb.TByteBuffer
Skip the specified amount of bytes for reading Advances the read cursor the specified amount of bytes
STATUS_BUSY - Static variable in class nl.tno.imb.TConnection
signal client status: busy (see updateStatus)
STATUS_CALCULATING - Static variable in class nl.tno.imb.TConnection
signal client status: calculating (see updateStatus)
STATUS_READY - Static variable in class nl.tno.imb.TConnection
signal client status: ready (see updateStatus)
subscribe(String) - Method in class nl.tno.imb.TConnection
Subscribe to the specified event
subscribe(String, boolean) - Method in class nl.tno.imb.TConnection
Subscribe to the specified event
subscribe() - Method in class nl.tno.imb.TEventEntry
 
subscribeOnFederationChange(TEventEntry.TOnChangeFederation) - Method in class nl.tno.imb.TConnection
Subscribe to federation change events and register the callback handler for these events
subscribeOnFocus(TEventEntry.TOnFocus) - Method in class nl.tno.imb.TConnection
Subscribe to focus events and registers the callback handler for these events.
subscribers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
subscribers() - Method in class nl.tno.imb.TEventEntry
 

T

TByteBuffer - Class in nl.tno.imb
General buffer for use within the IMB framework to standardize byte order and data exchange.
IMB is always little-endian within the framework (and over the network).
TByteBuffer(int) - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create byte buffer of the specified length
TByteBuffer() - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create empty byte buffer
TByteBuffer(byte[]) - Constructor for class nl.tno.imb.TByteBuffer
Constructor: create byte buffer as copy of the specified byte array
TConnection - Class in nl.tno.imb
The connection to the framework and starting point to use IMB.
TConnection(String, int, String, int, String) - Constructor for class nl.tno.imb.TConnection
Create an IMB connection to the framework
TConnection(String, int, String, int, String, boolean) - Constructor for class nl.tno.imb.TConnection
Create an IMB connection to the framework
TConnection.TConnectionState - Enum in nl.tno.imb
 
TConnection.TEventNameEntry - Class in nl.tno.imb
returned object (array) on an event name list query
TConnection.TOnDisconnect - Interface in nl.tno.imb
Override dispatch to implement a disconnect handler
TConnection.TOnEventnames - Interface in nl.tno.imb
Override dispatch to implement an event names request callback handler
TConnection.TOnStatusUpdate - Interface in nl.tno.imb
Override dispatch to implement a status change handler
TConnection.TOnSubAndPub - Interface in nl.tno.imb
 
TConnection.TOnVariable - Interface in nl.tno.imb
Override dispatch to implement a variable change handler
TConnection.TVarPrefix - Enum in nl.tno.imb
 
TEventEntry - Class in nl.tno.imb
This class implements the events that can be send and received over the IMB framework.
Handlers can be attached to events that get called when specified events are received.
TEventEntry(TConnection, int, String) - Constructor for class nl.tno.imb.TEventEntry
 
TEventEntry.TLogLevel - Enum in nl.tno.imb
defines the type of log entry to send
TEventEntry.TOnBuffer - Interface in nl.tno.imb
Override dispatch to implement a buffer event handler
TEventEntry.TOnChangeFederation - Interface in nl.tno.imb
Override dispatch to implement a federation change handler
TEventEntry.TOnChangeObject - Interface in nl.tno.imb
Override dispatch to implement a change object event handler
TEventEntry.TOnChangeObjectData - Interface in nl.tno.imb
Override dispatch to implement a change object data event handler
TEventEntry.TOnChildEvent - Interface in nl.tno.imb
Override dispatch to implement a handler for hub child event creation events
TEventEntry.TOnFocus - Interface in nl.tno.imb
Override dispatch to implement a focus event handler
TEventEntry.TOnNormalEvent - Interface in nl.tno.imb
Override dispatch to implement a normal event handler
TEventEntry.TOnOtherEvent - Interface in nl.tno.imb
Override dispatch to implement a event handler for non-standard events
TEventEntry.TOnStreamCreate - Interface in nl.tno.imb
Override dispatch to implement a handler of received streams, creating the local stream
TEventEntry.TOnStreamEnd - Interface in nl.tno.imb
Override dispatch to implement a handler of received streams, action on end of stream
TEventEntry.TOnSubAndPubEvent - Interface in nl.tno.imb
 
TEventEntry.TOnTimerCmd - Interface in nl.tno.imb
Override dispatch to implement a timer command handler for commands reset/start/stop
TEventEntry.TOnTimerTick - Interface in nl.tno.imb
Override dispatch to implement a timer tick handler
TEventNameEntry() - Constructor for class nl.tno.imb.TConnection.TEventNameEntry
 
timerAcknowledge(String, String, int) - Method in class nl.tno.imb.TEventEntry
Acknowledge a timer tick.
All clients on the timer acknowledge list must send an acknowledge on each timer tick for the timer to advance.
timerAcknowledgeAdd(String, String) - Method in class nl.tno.imb.TEventEntry
Add a client name to the acknowledge list of a timer.
All entries in this list must send an acknowledge on each timer tick for the timer to advance.
timerAcknowledgeRemove(String, String) - Method in class nl.tno.imb.TEventEntry
Remove a client name from the acknowledge list of a timer.
All entries in this list must send an acknowledge on each timer tick for the timer to advance.
timerCancel(String) - Method in class nl.tno.imb.TEventEntry
Cancel a running timer; the timer is destroyed.
timerCreate(String, long, int, double) - Method in class nl.tno.imb.TEventEntry
Create a timer on the connected HUB
timerCreate(String, long, int, double, int) - Method in class nl.tno.imb.TEventEntry
Create a timer on the connected HUB
timerPrepare(String) - Method in class nl.tno.imb.TEventEntry
Prepare a timer; the timer is stopped and reset to an initial state
timers - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
timerSetSpeed(String, double) - Method in class nl.tno.imb.TEventEntry
Set the relative running speed of the timer
timerStart(String) - Method in class nl.tno.imb.TEventEntry
Start or continue the timer
timerStop(String) - Method in class nl.tno.imb.TEventEntry
Stop or pause the timer
TLocator - Class in nl.tno.imb
 
TLocator() - Constructor for class nl.tno.imb.TLocator
 
toString() - Method in class nl.tno.imb.TConnection
toString() - Method in class org.opentrafficsim.imb.observers.IMBObserver
TRC_INFINITE - Static variable in class nl.tno.imb.TEventEntry
no limit on the number of timer events to send

U

unPublish(String) - Method in class nl.tno.imb.TConnection
Unpublish on the specified event.
unPublish(String, boolean) - Method in class nl.tno.imb.TConnection
Unpublish on the specified event.
unPublish(boolean) - Method in class nl.tno.imb.TEventEntry
 
unSubscribe(String) - Method in class nl.tno.imb.TConnection
Unsubscribe from the specified event
unSubscribe(String, boolean) - Method in class nl.tno.imb.TConnection
Unsubscribe from the specified event
unSubscribe(boolean) - Method in class nl.tno.imb.TEventEntry
 
updateStatus(int, int) - Method in class nl.tno.imb.TConnection
Update the central status for this client

V

value - Variable in enum nl.tno.imb.TConnection.TConnectionState
 
valueOf(String) - Static method in enum nl.tno.imb.TConnection.TConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.TConnection.TVarPrefix
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.TEventEntry.TLogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.tno.imb.TConnection.TConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.TConnection.TVarPrefix
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.TEventEntry.TLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(boolean) - Method in class nl.tno.imb.TByteBuffer
Write the specified boolean to the byte buffer.
write(byte) - Method in class nl.tno.imb.TByteBuffer
Write the specified byte to the byte buffer.
write(int) - Method in class nl.tno.imb.TByteBuffer
Write the specified 32 bit integer to the byte buffer.
write(long) - Method in class nl.tno.imb.TByteBuffer
Write the specified 64 bit integer (long) to the byte buffer.
write(float) - Method in class nl.tno.imb.TByteBuffer
Write the specified single (float) to the byte buffer.
write(double) - Method in class nl.tno.imb.TByteBuffer
Write the specified double to the byte buffer.
write(String) - Method in class nl.tno.imb.TByteBuffer
Write the specified string to the byte buffer in UTF-8 format.
write(byte[]) - Method in class nl.tno.imb.TByteBuffer
Write the specified byte array WITHOUT the size to the byte buffer.
write(TByteBuffer) - Method in class nl.tno.imb.TByteBuffer
Write the readable data in the specified byte buffer to this byte buffer.
writeApply() - Method in class nl.tno.imb.TByteBuffer
apply written data (trim extra buffer space)
writeCommand(int, byte[]) - Method in class nl.tno.imb.TConnection
Write a single command to the framework
writeStart(int) - Method in class nl.tno.imb.TByteBuffer
Start writing at the specified 0-based index.
written(int) - Method in class nl.tno.imb.TByteBuffer
signal number of bytes directly written to buffer without using class methods update write cursor and return if it fitted into buffer (should trigger exception ?)
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2014–2016 Delft University of Technology. All rights reserved.