Uses of Class
org.opentrafficsim.imb.IMBException
-
Packages that use IMBException Package Description 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.connector The connector classes to link OTS and IMB.org.opentrafficsim.imb.transceiver Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. -
-
Uses of IMBException in nl.tno.imb.mc
Methods in nl.tno.imb.mc that throw IMBException Modifier and Type Method Description voidModelStarter. doStartModel(ModelParameters parameters)Start a model.voidModelStarter. doStopModel()Stop the model and go to idle state.Parameter.ParameterTypeModelParameters. getParameterType(java.lang.String name)Retrieve the type of a parameter.java.lang.ObjectModelParameters. getParameterValue(java.lang.String name)Retrieve the value of a parameter.voidModelStarter. signalModelProgress(int currentProgress)Report a new progress value.voidModelStarter. signalModelState(ModelState newState)Inform our federation about a state change.voidModelStarter. signalModelState(ModelState newState, java.lang.String federation)Inform a federation about a state change.Constructors in nl.tno.imb.mc that throw IMBException Constructor Description ModelParameters(TByteBuffer payload)Construct ModelParameters from a IMB ByteBufferModelStarter(java.lang.String[] args, java.lang.String providedModelName, int providedModelId)Create a new ModelStarter.Parameter(TByteBuffer payload)Construct a new Parameter from the next object in a TByteBuffer. -
Uses of IMBException in org.opentrafficsim.imb
Methods in org.opentrafficsim.imb that throw IMBException Modifier and Type Method Description static TByteBufferObjectArrayToIMB. objectArrayToIMBPayload(java.lang.Object[] data)Convert an array of Object to an IMB payload. -
Uses of IMBException in org.opentrafficsim.imb.connector
Methods in org.opentrafficsim.imb.connector that throw IMBException Modifier and Type Method Description booleanConnector. postIMBMessage(java.lang.String IMBEventName, Connector.IMBEventType imbEventType, java.lang.Object[] args)Compose a message containing the specified objects and send it to recipients.booleanIMBConnector. postIMBMessage(java.lang.String eventName, Connector.IMBEventType imbEventType, java.lang.Object[] args)Compose a message containing the specified objects and send it to recipients.voidConnector. register(java.lang.String fullIMBEventName, Transceiver transceiver)Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.voidIMBConnector. register(java.lang.String imbEventName, Transceiver transceiver)Register the transceiver as the interested party when an IMB message identified by the imbEventName is received.Constructors in org.opentrafficsim.imb.connector that throw IMBException Constructor Description IMBConnector(java.lang.String host, int port, java.lang.String modelName, int modelId, java.lang.String federation)Construct a new connection for sending events to IMBIMBConnector(TConnection connection)Construct an IMBConnector that re-uses an existing TConnection. -
Uses of IMBException in org.opentrafficsim.imb.transceiver
Methods in org.opentrafficsim.imb.transceiver that throw IMBException Modifier and Type Method Description voidIMBMessageHandler. handle(TByteBuffer imbPayload)Handle an IMB payload for OTS.voidTransceiver. handleMessageFromIMB(java.lang.String imbEventName, TByteBuffer imbPayload)Handle an IMB message sent to OTS.
-