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
addParameter(Parameter) - Method in class nl.tno.imb.mc.ModelParameters
Add a parameter.
appSettings(String) - Static method in class nl.tno.imb.mc.ConfigurationManager
STUB
arguments - Variable in class nl.tno.imb.mc.StandardSettings
Non-switch command line arguments.
autoPublish - Variable in class nl.tno.imb.TConnection
when true events send on not-publuished events are automatically published

B

buildMessage() - Method in interface org.opentrafficsim.imb.modelproperties.IMBModelPropertyTransmitter
Construct an Object array containing the objects that must be transmitted.
byValue(int) - Static method in enum nl.tno.imb.mc.ModelEvent.ModelCommand
Lookup the ModelCommand that corresponds to the value.
byValue(int) - Static method in enum nl.tno.imb.mc.ModelState
Lookup the ModelState that corresponds to the value.

C

ChangeEvent - Class in nl.tno.imb.mc
New event.
ChangeEvent(TByteBuffer) - Constructor for class nl.tno.imb.mc.ChangeEvent
Construct a new ChangeEvent from data received over IMB.
ChangeEvent(int, ModelState, String) - Constructor for class nl.tno.imb.mc.ChangeEvent
Construct a new ChangeEvent from uid, state and federation parameters.
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.
CLIENTS_ROOT_EVENT_NAME - Static variable in class nl.tno.imb.mc.ModelStarter
Default clients root event name.
close() - Method in class nl.tno.imb.TConnection
Closes the connection and cleans up socket, streams and thread
commandMap - Static variable in enum nl.tno.imb.mc.ModelEvent.ModelCommand
Map to translate numeric value to enum.
commandMap - Static variable in enum nl.tno.imb.mc.ModelState
Map to translate numeric value to enum.
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
ConfigurationErrorsException - Exception in nl.tno.imb.mc
Exceptions for IMB ModelControl.
ConfigurationErrorsException() - Constructor for exception nl.tno.imb.mc.ConfigurationErrorsException
 
ConfigurationErrorsException(String) - Constructor for exception nl.tno.imb.mc.ConfigurationErrorsException
 
ConfigurationErrorsException(Throwable) - Constructor for exception nl.tno.imb.mc.ConfigurationErrorsException
 
ConfigurationErrorsException(String, Throwable) - Constructor for exception nl.tno.imb.mc.ConfigurationErrorsException
 
ConfigurationErrorsException(String, Throwable, boolean, boolean) - Constructor for exception nl.tno.imb.mc.ConfigurationErrorsException
 
ConfigurationManager - Class in nl.tno.imb.mc
STUB; dummy configuration manager
connection - Variable in class nl.tno.imb.mc.ModelStarter
Connection to the IMB hub.
Connector - Interface in org.opentrafficsim.imb.connector
IMB listener and publisher.
Connector.IMBEventType - Enum in org.opentrafficsim.imb.connector
Enum for IMB event types.
controller - Variable in class nl.tno.imb.mc.NewEvent
The controller.
CONTROLLER_PRIVATE_EVENT_NAME_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line Controller private event name switch.
CONTROLLER_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line controller switch.
controllerPrivateEventName - Variable in class nl.tno.imb.mc.NewEvent
Controller private event name.
CONTROLLERS_EVENT_NAME_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line controllers event name switch.
CONTROLLERS_ROOT_EVENT_NAME - Static variable in class nl.tno.imb.mc.ModelStarter
Controllers root event name.
copyHandlersFrom(TEventEntry) - Method in class nl.tno.imb.TEventEntry
 

D

DATA_SOURCE_PARAMETER_NAME - Static variable in class nl.tno.imb.mc.ModelStarter
Data source parameter name.
DecodeServerURIPort(String) - Static method in class nl.tno.imb.TLocator
 
DecodeServerURIServer(String) - Static method in class nl.tno.imb.TLocator
 
DEFAULT_CONTROLLER - Static variable in class nl.tno.imb.mc.ModelStarter
The default controller.
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_IDLE_FEDERATION - Static variable in class nl.tno.imb.mc.ModelStarter
Default idle federation.
DEFAULT_MODEL_ID - Static variable in class nl.tno.imb.mc.ModelStarter
Default model id (must be numeric).
DEFAULT_MODEL_NAME - Static variable in class nl.tno.imb.mc.ModelStarter
Default for model name.
DEFAULT_MODEL_PRIORITY - Static variable in class nl.tno.imb.mc.ModelStarter
Default model priority.
DEFAULT_PORT - Static variable in class nl.tno.imb.TConnection
value to be used when no specific port is used
DEFAULT_REMOTE_HOST - Static variable in class nl.tno.imb.mc.ModelStarter
Default remote host.
DEFAULT_REMOTE_PORT - Static variable in class nl.tno.imb.mc.ModelStarter
Default remote port.
DeleteEvent(TByteBuffer) - Constructor for class nl.tno.imb.mc.ModelEvent.DeleteEvent
Construct a new DeleteEvent from data received over IMB.
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
 
doQuitApplication() - Method in class nl.tno.imb.mc.ModelStarter
Terminate the application.
doStartModel(ModelParameters) - Method in class nl.tno.imb.mc.ModelStarter
Start a model.
doStopModel() - Method in class nl.tno.imb.mc.ModelStarter
Stop the model and go to idle state.

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
 
EVENT_NAME_PART_SEPARATOR - Static variable in class nl.tno.imb.mc.ModelStarter
Event name part separator.
eventName - Variable in class nl.tno.imb.TConnection.TEventNameEntry
 
EventTransceiver - Interface in org.opentrafficsim.imb.transceiver
Relay events between IMB domain and OTS domain, enabled by pub/sub.

F

federation - Variable in class nl.tno.imb.mc.ChangeEvent
The IMB federation.
federation - Variable in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
The IMB federation.
federation - Variable in class nl.tno.imb.mc.NewEvent
The IMB federation.
FEDERATION_PARAMETER_NAME - Static variable in class nl.tno.imb.mc.ModelStarter
Federation parameter name.
feventName - Variable in class nl.tno.imb.TEventEntry
 
finalize() - Method in class nl.tno.imb.TConnection
 
firstArgument() - Method in class nl.tno.imb.mc.StandardSettings
Reset the internal argument index and return the first non-switch command line argument.
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
getConnector() - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Retrieve the IMB connector.
getEventEntry() - Method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
Return the corresponding integer IMB type.
getEventName() - Method in class nl.tno.imb.TEventEntry
Returns the fully qualified name of this event
getFederation() - Method in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Retrieve the federation.
getFederation() - Method in class nl.tno.imb.TConnection
Returns the current federation
getFederation() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the federation name of the connection, e.g.
getFederation() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the federation name of the connection, e.g.
getHost() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the host of the connection, e.g.
getHost() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the host of the connection, e.g.
getId() - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Retrieve the id for the Transceiver channel, e.g.
getIMBEventName() - Method in interface org.opentrafficsim.imb.transceiver.IMBMessageHandler
Return the IMB event name for which this hander is registered.
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
getModelId() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the model id (owner id) of the connection, e.g.
getModelId() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the model id (owner id) of the connection, e.g.
getModelName() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the model name (owner name) of the connection, e.g.
getModelName() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the model name (owner name) of the connection, e.g.
getName() - Method in class nl.tno.imb.mc.Parameter
 
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
getParameterByName(String) - Method in class nl.tno.imb.mc.ModelParameters
Retrieve the parameter with a specified name
getParameterNames() - Method in class nl.tno.imb.mc.ModelParameters
Retrieve the names of all stored parameters.
getParameterType(String) - Method in class nl.tno.imb.mc.ModelParameters
Retrieve the type of a parameter.
getParameterValue(String) - Method in class nl.tno.imb.mc.ModelParameters
Retrieve the value of a parameter.
getPort() - Method in interface org.opentrafficsim.imb.connector.Connector
Return the port of the connection, e.g.
getPort() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Return the port of the connection, e.g.
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.mc.ModelStarter
Retrieve the remote host name.
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.mc.ModelStarter
Retrieve the remote port number.
getRemotePort() - Method in class nl.tno.imb.TConnection
Returns the TCP port of the currently connected hub
getSetting(String, String) - Method in class nl.tno.imb.mc.StandardSettings
 
getShortEventName() - Method in class nl.tno.imb.TEventEntry
 
getState() - Method in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Retrieve the model state.
getSwitch(String, String) - Method in class nl.tno.imb.mc.StandardSettings
Lookup and return a switch value.
getType() - Method in class nl.tno.imb.mc.Parameter
 
getUid() - Method in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Retrieve the Id.
getUniqueClientID() - Method in class nl.tno.imb.TConnection
Returns the unique client id the hub assigned to this connection
getValue() - Method in enum nl.tno.imb.mc.ModelEvent.ModelCommand
Retrieve the value that represents this model command during transmission over IMB.
getValue() - Method in enum nl.tno.imb.mc.ModelState
Retrieve the integer value that represents this ModelState for transmission over IMB.
getValue() - Method in class nl.tno.imb.mc.Parameter
 
getValueList() - Method in class nl.tno.imb.mc.Parameter
 
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

handle(TByteBuffer) - Method in interface org.opentrafficsim.imb.transceiver.IMBMessageHandler
Handle an IMB payload for OTS.
handleCommandOther(int, TByteBuffer) - Method in class nl.tno.imb.TConnection
 
handleControlEvents(TEventEntry, TByteBuffer) - Method in class nl.tno.imb.mc.ModelStarter
Execute a control event.
handleEvent(TByteBuffer) - Method in class nl.tno.imb.TEventEntry
 
handleMessageFromIMB(String, TByteBuffer) - Method in interface org.opentrafficsim.imb.transceiver.Transceiver
Handle an IMB message sent to OTS.
handleSubAndPub(int) - Method in class nl.tno.imb.TEventEntry
 
hasNext() - Method in class nl.tno.imb.mc.Parameter.PropertyIterator

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
IDLE_FEDERATION_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line idle federation switch.
imb2Compatible - Variable in class nl.tno.imb.TConnection
when true IMB2 features are used if possible to emulate IMB3 behavior
IMBConnector - Class in org.opentrafficsim.imb.connector
Make a connection to the IMB bus, allow messages to be posted, and register callbacks from IMB to OTS.
IMBConnector(String, int, String, int, String) - Constructor for class org.opentrafficsim.imb.connector.IMBConnector
Construct a new connection for sending events to IMB
IMBConnector(TConnection) - Constructor for class org.opentrafficsim.imb.connector.IMBConnector
Construct an IMBConnector that re-uses an existing TConnection.
IMBException - Exception in org.opentrafficsim.imb
The IMBException specifies problems with the connection to the IMB bus.
IMBException() - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(Throwable) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String, Throwable) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBException(String, Throwable, boolean, boolean) - Constructor for exception org.opentrafficsim.imb.IMBException
Standard constructor for the IMBException specifying problems with the connection to the IMB bus.
IMBMessageHandler - Interface in org.opentrafficsim.imb.transceiver
Handle a message received over IMB for OTS.
IMBModelPropertyTransmitter - Interface in org.opentrafficsim.imb.modelproperties
This interface defines that should be implemented in order to transmit a model property to an IMB Model Controller.
imbTransceiverMap - Variable in class org.opentrafficsim.imb.connector.IMBConnector
Registration of callback ids from IMB to OTS.
InitEvent - Class in nl.tno.imb.mc
Init event.
InitEvent(TByteBuffer) - Constructor for class nl.tno.imb.mc.InitEvent
Construct an InitEvent from a TByteBuffer.
InitEvent(long, int, String, String) - Constructor for class nl.tno.imb.mc.InitEvent
Construct an InitEvent.
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

LINK_ID_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line link id switch.
linkId - Variable in class nl.tno.imb.mc.InitEvent
Id of the link.
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)
MAX_PAYLOAD_SIZE - Static variable in class nl.tno.imb.TConnection
The maximum size of the payload in a low level IMB command
MODEL_ID_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line model id switch.
MODEL_NAME_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line model name switch.
MODEL_PRIORITY_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line model priority switch.
ModelChangeEvent(TByteBuffer) - Constructor for class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Construct a new ModelChangeEvent from an IMB message.
ModelEvent - Class in nl.tno.imb.mc
The IMB Model events.
ModelEvent() - Constructor for class nl.tno.imb.mc.ModelEvent
 
ModelEvent.DeleteEvent - Class in nl.tno.imb.mc
Delete event.
ModelEvent.ModelChangeEvent - Class in nl.tno.imb.mc
Parse and store the content of an IMB model change event.
ModelEvent.ModelCommand - Enum in nl.tno.imb.mc
Commands handled by the command interpreter.
modelName - Variable in class nl.tno.imb.mc.InitEvent
Model name.
modelName - Variable in class nl.tno.imb.mc.NewEvent
Name of the model.
ModelParameters - Class in nl.tno.imb.mc
Container for a list of model parameters.
For now this object is immutable.
ModelParameters(TByteBuffer) - Constructor for class nl.tno.imb.mc.ModelParameters
Construct ModelParameters from a IMB ByteBuffer
modelPrivateEventName - Variable in class nl.tno.imb.mc.InitEvent
Private event name.
ModelStarter - Class in nl.tno.imb.mc
Model starter.
ModelStarter(String[], String, int) - Constructor for class nl.tno.imb.mc.ModelStarter
Create a new ModelStarter.
ModelState - Enum in nl.tno.imb.mc
The possible states of a model.

N

NewEvent - Class in nl.tno.imb.mc
New event.
NewEvent(TByteBuffer) - Constructor for class nl.tno.imb.mc.NewEvent
Construct a new NewEvent from data received over IMB.
NewEvent(int, String, String, int, ModelState, String, String, String) - Constructor for class nl.tno.imb.mc.NewEvent
Construct a new NewEvent.
next() - Method in class nl.tno.imb.mc.Parameter.PropertyIterator
nextArgument() - Method in class nl.tno.imb.mc.StandardSettings
Return the next non-switch command line argument and increment the internal argument index.
nl.tno.imb - package nl.tno.imb
nl.tno.imb.mc - package nl.tno.imb.mc
Model control package.

O

ObjectArrayToIMB - Class in org.opentrafficsim.imb
Transmit an array of Object to the IMB hub.
objectArrayToIMBPayload(Object[]) - Static method in class org.opentrafficsim.imb.ObjectArrayToIMB
Convert an array of Object to an IMB payload.
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 - package org.opentrafficsim.imb
Generic classes for the IMB message bus classes, linking to the nl.tno.imb classes.
org.opentrafficsim.imb.connector - package org.opentrafficsim.imb.connector
The connector classes to link OTS and IMB.
org.opentrafficsim.imb.modelproperties - package org.opentrafficsim.imb.modelproperties
Export model properties to an IMB model controller and handling received property change messages from an IMB model controller.
org.opentrafficsim.imb.transceiver - package org.opentrafficsim.imb.transceiver
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.

P

Parameter - Class in nl.tno.imb.mc
IMB model control parameter.
Parameter(String, double) - Constructor for class nl.tno.imb.mc.Parameter
Construct a new float parameter.
Parameter(String, Boolean) - Constructor for class nl.tno.imb.mc.Parameter
Construct a Boolean parameter.
Parameter(String, int) - Constructor for class nl.tno.imb.mc.Parameter
Construct a new integer parameter.
Parameter(String, String) - Constructor for class nl.tno.imb.mc.Parameter
Construct a String parameter.
Parameter(TByteBuffer) - Constructor for class nl.tno.imb.mc.Parameter
Construct a new Parameter from the next object in a TByteBuffer.
Parameter.ParameterType - Enum in nl.tno.imb.mc
IMB integer numbers and our corresponding enum values.
Parameter.PropertyIterator - Class in nl.tno.imb.mc
Really simple iterator for properties.
parameterExists(String) - Method in class nl.tno.imb.mc.ModelParameters
Report if this ModelParameters object contains a parameter with the specified name.
parameterRequest(ModelParameters) - Method in class nl.tno.imb.mc.ModelStarter
The model must fill in its parameters.
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.
postIMBMessage(String, Connector.IMBEventType, Object[]) - Method in interface org.opentrafficsim.imb.connector.Connector
Compose a message containing the specified objects and send it to recipients.
postIMBMessage(String, Connector.IMBEventType, Object[]) - Method in class org.opentrafficsim.imb.connector.IMBConnector
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(TByteBuffer) - Method in class nl.tno.imb.mc.ChangeEvent
Prepare this ModelEvent for transmission over IMB.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.InitEvent
Prepare this ModelEvent for transmission over IMB.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.ModelEvent.DeleteEvent
Prepare this ModelEvent for transmission over IMB.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.ModelEvent
Prepare this ModelEvent for transmission over IMB.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.ModelParameters
Perform the prepare operation.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.NewEvent
Prepare this ModelEvent for transmission over IMB.
prepare(TByteBuffer) - Method in class nl.tno.imb.mc.Parameter
Prepare this parameter for transmission over IMB.
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.
prepare(TByteBuffer) - Method in interface org.opentrafficsim.imb.SelfWrapper
Perform the prepare operation.
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.
priority - Variable in class nl.tno.imb.mc.ModelStarter
Priority.
priority - Variable in class nl.tno.imb.mc.NewEvent
The priority.
privateEventName - Variable in class nl.tno.imb.mc.NewEvent
Private event name.
progress - Variable in class nl.tno.imb.mc.ModelStarter
Progress.
PropertyIterator(Property<?>) - Constructor for class nl.tno.imb.mc.Parameter.PropertyIterator
Construct a new PropertyIterator.
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
quitApplication() - Method in class nl.tno.imb.mc.ModelStarter
Kill the model; called before this application exits.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.ChangeEvent
Transmit this ModelEvent over IMB.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.InitEvent
Transmit this ModelEvent over IMB.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.ModelEvent.DeleteEvent
Transmit this ModelEvent over IMB.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.ModelEvent
Transmit this ModelEvent over IMB.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.ModelParameters
Perform the qWrite operation.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.NewEvent
Transmit this ModelEvent over IMB.
qWrite(TByteBuffer) - Method in class nl.tno.imb.mc.Parameter
Prepare this parameter for transmission over IMB.
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
qWrite(TByteBuffer) - Method in interface org.opentrafficsim.imb.SelfWrapper
Perform the qWrite operation.

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.
register(String, Transceiver) - Method in interface org.opentrafficsim.imb.connector.Connector
Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.
register(String, Transceiver) - Method in class org.opentrafficsim.imb.connector.IMBConnector
Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.
REMOTE_HOST_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line remote host switch.
REMOTE_PORT_SWITCH - Static variable in class nl.tno.imb.mc.ModelStarter
Command line remote port switch.
remove() - Method in class nl.tno.imb.mc.Parameter.PropertyIterator
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

SelfWrapper - Interface in org.opentrafficsim.imb
Interface for objects that implement prepare and qWrite.
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
setValueList(List<String>) - Method in class nl.tno.imb.mc.Parameter
Set the list of pre-defined options that the user may choose from.
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
signalModelProgress(int) - Method in class nl.tno.imb.mc.ModelStarter
Report a new progress value.
signalModelState(ModelState, String) - Method in class nl.tno.imb.mc.ModelStarter
Inform a federation about a state change.
signalModelState(ModelState) - Method in class nl.tno.imb.mc.ModelStarter
Inform our federation about a state change.
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
StandardSettings - Class in nl.tno.imb.mc
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
StandardSettings(String[]) - Constructor for class nl.tno.imb.mc.StandardSettings
Construct StandardSettings from the command line arguments.
startModel(ModelParameters, TConnection) - Method in class nl.tno.imb.mc.ModelStarter
Start the model.
state - Variable in class nl.tno.imb.mc.ChangeEvent
The state.
state - Variable in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Mode state.
state - Variable in class nl.tno.imb.mc.ModelStarter
State of the model.
state - Variable in class nl.tno.imb.mc.NewEvent
The model state.
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)
stopModel() - Method in class nl.tno.imb.mc.ModelStarter
Stop the model.
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
 
switches - Variable in class nl.tno.imb.mc.StandardSettings
Map of collected switches.

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
 
testSwitch(String) - Method in class nl.tno.imb.mc.StandardSettings
Report if a switch is present.
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.mc.ModelParameters
toString() - Method in class nl.tno.imb.mc.Parameter.PropertyIterator
toString() - Method in class nl.tno.imb.mc.Parameter
toString() - Method in class nl.tno.imb.TConnection
toString() - Method in class org.opentrafficsim.imb.connector.IMBConnector
Transceiver - Interface in org.opentrafficsim.imb.transceiver
Relay events between IMB domain and OTS domain.
TRC_INFINITE - Static variable in class nl.tno.imb.TEventEntry
no limit on the number of timer events to send

U

uid - Variable in class nl.tno.imb.mc.ChangeEvent
UID.
uid - Variable in class nl.tno.imb.mc.InitEvent
UID.
uid - Variable in class nl.tno.imb.mc.ModelEvent.DeleteEvent
UID.
uid - Variable in class nl.tno.imb.mc.ModelEvent.ModelChangeEvent
Id.
uid - Variable in class nl.tno.imb.mc.NewEvent
UID.
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.mc.Parameter.ParameterType
The IMB integer value used for this ParameterType.
value - Variable in enum nl.tno.imb.TConnection.TConnectionState
 
valueOf(String) - Static method in enum nl.tno.imb.mc.ModelEvent.ModelCommand
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.mc.ModelState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nl.tno.imb.mc.Parameter.ParameterType
Returns the enum constant of this type with the specified name.
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.
valueOf(String) - Static method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum nl.tno.imb.mc.ModelEvent.ModelCommand
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.mc.ModelState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum nl.tno.imb.mc.Parameter.ParameterType
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.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.
values() - Static method in enum org.opentrafficsim.imb.connector.Connector.IMBEventType
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.