start method

bool start(
  1. String socketPath,
  2. String configFile,
  3. String hostId,
  4. String userId,
  5. String deviceId,
)

Implementation

bool start(String socketPath, String configFile, String hostId,
    String userId, String deviceId)
{
  _coreHandle = _bindings.start_core(
      toCharPointer(socketPath),
      toCharPointer(configFile),
      toCharPointer(hostId),
      toCharPointer(userId),
      toCharPointer(deviceId));
  _ready = _coreHandle.address != 0;

  if(_ready)
  {
    _wasMiddlewareStartedFromDart = true;
  }

  return _ready;
}