Uses of Class
nl.tno.imb.TByteBuffer
| 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-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
-
Uses of TByteBuffer in nl.tno.imb
Methods in nl.tno.imb that return TByteBuffer Modifier and Type Method Description TByteBufferTByteBuffer. 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)TByteBufferTByteBuffer. readByteBuffer()Read new byte buffer contents from this byte buffer.TByteBufferTByteBuffer. readRestToByteBuffer()Read all data available from the read cursor in this byte buffer to a newly created byte bufferMethods in nl.tno.imb with parameters of type TByteBuffer Modifier and Type Method Description voidTEventEntry.TOnBuffer. dispatch(TEventEntry aEvent, int aTick, int aBufferID, TByteBuffer aBuffer)voidTEventEntry.TOnChangeObjectData. dispatch(TEventEntry aEvent, int aAction, int aObjectID, String aAttribute, TByteBuffer aNewValues, TByteBuffer aOldValues)voidTEventEntry.TOnNormalEvent. dispatch(TEventEntry aEvent, TByteBuffer aPayload)voidTEventEntry.TOnOtherEvent. dispatch(TEventEntry aEvent, int aTick, int aEventKind, TByteBuffer aPayload)protected voidTConnection. handleCommandOther(int aCommand, TByteBuffer aPayload)voidTByteBuffer. prepare(TByteBuffer aValue)Prepares the byte buffer for later writing of an other byte buffers readable data.voidTByteBuffer. qWrite(TByteBuffer aValue)write, with no checking, all readable data from the given byte buffer to this prefixed WITH sizevoidTByteBuffer. readByteBuffer(TByteBuffer aValue)Read size and data and store as a whole WITHOUT size (size=length buffer)voidTConnection. setVariableValue(String aVarName, TByteBuffer aVarValue)Set the value of a global framework variablevoidTConnection. setVariableValue(String aVarName, TByteBuffer aVarValue, TConnection.TVarPrefix aVarPrefix)Set the value of a global framework variableintTConnection. signalEvent(String aEventName, int aEventKind, TByteBuffer aEventPayload)Send an event to the framework.intTConnection. signalEvent(String aEventName, int aEventKind, TByteBuffer aEventPayload, boolean aUseFederationPrefix)Send an event to the framework.voidTByteBuffer. write(TByteBuffer aValue)Write the readable data in the specified byte buffer to this byte buffer. -
Uses of TByteBuffer in nl.tno.imb.mc
Methods in nl.tno.imb.mc with parameters of type TByteBuffer Modifier and Type Method Description abstract voidModelEvent. prepare(TByteBuffer payload)Prepare this ModelEvent for transmission over IMB.voidModelParameters. prepare(TByteBuffer payload)Perform the prepare operation.voidParameter. prepare(TByteBuffer payload)Prepare this parameter for transmission over IMB.abstract voidModelEvent. qWrite(TByteBuffer payload)Transmit this ModelEvent over IMB.voidModelParameters. qWrite(TByteBuffer payload)Perform the qWrite operation.voidParameter. qWrite(TByteBuffer payload)Prepare this parameter for transmission over IMB.Constructors in nl.tno.imb.mc with parameters of type TByteBuffer Constructor Description ModelParameters(TByteBuffer payload)Construct ModelParameters from a IMB ByteBufferParameter(TByteBuffer payload)Construct a new Parameter from the next object in a TByteBuffer. -
Uses of TByteBuffer in org.opentrafficsim.imb
Methods in org.opentrafficsim.imb that return TByteBuffer Modifier and Type Method Description static TByteBufferObjectArrayToIMB. objectArrayToIMBPayload(Object[] data)Convert an array of Object to an IMB payload.Methods in org.opentrafficsim.imb with parameters of type TByteBuffer Modifier and Type Method Description voidSelfWrapper. prepare(TByteBuffer tByteBuffer)Perform the prepare operation.voidSelfWrapper. qWrite(TByteBuffer tByteBuffer)Perform the qWrite operation. -
Uses of TByteBuffer in org.opentrafficsim.imb.transceiver
Methods in org.opentrafficsim.imb.transceiver with parameters of type TByteBuffer Modifier and Type Method Description voidIMBMessageHandler. handle(TByteBuffer imbPayload)Handle an IMB payload for OTS.voidTransceiver. handleMessageFromIMB(String imbEventName, TByteBuffer imbPayload)Handle an IMB message sent to OTS.