wrench::HostHasChangedSpeedMessage

class HostHasChangedSpeedMessage : public wrench::HostStateChangeDetectorMessage

A message sent by the HostStateChangeDetector to notify some listener that a host has changed speed.

Public Functions

explicit HostHasChangedSpeedMessage(std::string hostname, double speed)

Constructor.

Parameters
  • hostname – the name of the host that has changed speed

  • speed – the host’s new speed

Public Members

std::string hostname

The name of the host that has tuned off.

double speed

The host’s (new) speed.