The ModuleAPI-REST interface for IMC

As IMCServer

  • ConnectResult Connect(int ModuleID) // Connect result will reveal if the Module was launched correct then call LaunchInfo and check if IsLauchedAsIMCServer = true

  • SetMCCommandResult(IMCServerCommand, id) // Call to this is only allowed immediately after IMCCommandReceived event.

  • IMCDataReady(Object) // Send Data to IMCClient. Types : Contains data object can be as described earlier.

  • Event IMCCommandReceived // Contains an id and IMCServerCommand to do and then immediate call to SetMCCommandResult

  • Event StopIMC // Module is not allowed to call DataReady after this point

As IMCClient

  • IMCServerCommand CommandIMC(IMCServerCommand cmd)

  • StopIMC() // Call to end IMC session

  • Event IMCDataReady // Contains data object can be as described earlier.

​​