Package | Description |
---|---|
nl.tno.imb | |
nl.tno.imb.mc |
Model control package.
|
org.opentrafficsim.imb |
Generic classes for the IMB message bus classes, linking to the nl.tno.imb classes.
|
org.opentrafficsim.imb.transceiver |
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
TByteBuffer |
TByteBuffer.qReadByteBuffer()
Read a byte buffer this byte buffer without any checks
Read size and data and store as a whole WITHOUT size (size=length buffer)
|
TByteBuffer |
TByteBuffer.readByteBuffer()
Read new byte buffer contents from this byte buffer.
|
TByteBuffer |
TByteBuffer.readRestToByteBuffer()
Read all data available from the read cursor in this byte buffer to a newly created byte buffer
|
Modifier and Type | Method and Description |
---|---|
void |
TEventEntry.TOnChangeObjectData.dispatch(TEventEntry aEvent,
int aAction,
int aObjectID,
String aAttribute,
TByteBuffer aNewValues,
TByteBuffer aOldValues) |
void |
TEventEntry.TOnBuffer.dispatch(TEventEntry aEvent,
int aTick,
int aBufferID,
TByteBuffer aBuffer) |
void |
TEventEntry.TOnOtherEvent.dispatch(TEventEntry aEvent,
int aTick,
int aEventKind,
TByteBuffer aPayload) |
void |
TEventEntry.TOnNormalEvent.dispatch(TEventEntry aEvent,
TByteBuffer aPayload) |
protected void |
TConnection.handleCommandOther(int aCommand,
TByteBuffer aPayload) |
(package private) void |
TEventEntry.handleEvent(TByteBuffer aPayload) |
void |
TByteBuffer.prepare(TByteBuffer aValue)
Prepares the byte buffer for later writing of an other byte buffers readable data.
|
void |
TByteBuffer.qWrite(TByteBuffer aValue)
write, with no checking, all readable data from the given byte buffer to this prefixed WITH size
|
void |
TByteBuffer.readByteBuffer(TByteBuffer aValue)
Read size and data and store as a whole WITHOUT size (size=length buffer)
|
void |
TConnection.setVariableValue(String aVarName,
TByteBuffer aVarValue)
Set the value of a global framework variable
|
void |
TConnection.setVariableValue(String aVarName,
TByteBuffer aVarValue,
TConnection.TVarPrefix aVarPrefix)
Set the value of a global framework variable
|
int |
TConnection.signalEvent(String aEventName,
int aEventKind,
TByteBuffer aEventPayload)
Send an event to the framework.
|
int |
TConnection.signalEvent(String aEventName,
int aEventKind,
TByteBuffer aEventPayload,
boolean aUseFederationPrefix)
Send an event to the framework.
|
void |
TByteBuffer.write(TByteBuffer aValue)
Write the readable data in the specified byte buffer to this byte buffer.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
ModelStarter.handleControlEvents(TEventEntry event,
TByteBuffer payload)
Execute a control event.
|
void |
NewEvent.prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
InitEvent.prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
ChangeEvent.prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
Parameter.prepare(TByteBuffer payload)
Prepare this parameter for transmission over IMB.
|
void |
ModelParameters.prepare(TByteBuffer payload)
Perform the prepare operation.
|
abstract void |
ModelEvent.prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
ModelEvent.DeleteEvent.prepare(TByteBuffer payload)
Prepare this ModelEvent for transmission over IMB.
|
void |
NewEvent.qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
void |
InitEvent.qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
void |
ChangeEvent.qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
void |
Parameter.qWrite(TByteBuffer payload)
Prepare this parameter for transmission over IMB.
|
void |
ModelParameters.qWrite(TByteBuffer payload)
Perform the qWrite operation.
|
abstract void |
ModelEvent.qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
void |
ModelEvent.DeleteEvent.qWrite(TByteBuffer payload)
Transmit this ModelEvent over IMB.
|
Constructor and Description |
---|
ChangeEvent(TByteBuffer payload)
Construct a new ChangeEvent from data received over IMB.
|
DeleteEvent(TByteBuffer payload)
Construct a new DeleteEvent from data received over IMB.
|
InitEvent(TByteBuffer payload)
Construct an InitEvent from a TByteBuffer.
|
ModelChangeEvent(TByteBuffer payload)
Construct a new ModelChangeEvent from an IMB message.
|
ModelParameters(TByteBuffer payload)
Construct ModelParameters from a IMB ByteBuffer
|
NewEvent(TByteBuffer payload)
Construct a new NewEvent from data received over IMB.
|
Parameter(TByteBuffer payload)
Construct a new Parameter from the next object in a TByteBuffer.
|
Modifier and Type | Method and Description |
---|---|
static TByteBuffer |
ObjectArrayToIMB.objectArrayToIMBPayload(Object[] data)
Convert an array of Object to an IMB payload.
|
Modifier and Type | Method and Description |
---|---|
void |
SelfWrapper.prepare(TByteBuffer tByteBuffer)
Perform the prepare operation.
|
void |
SelfWrapper.qWrite(TByteBuffer tByteBuffer)
Perform the qWrite operation.
|
Modifier and Type | Method and Description |
---|---|
void |
IMBMessageHandler.handle(TByteBuffer imbPayload)
Handle an IMB payload for OTS.
|
void |
Transceiver.handleMessageFromIMB(String imbEventName,
TByteBuffer imbPayload)
Handle an IMB message sent to OTS.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.