WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::HostHasChangedSpeedMessage Class Reference

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

#include <HostStateChangeDetectorMessage.h>

Inheritance diagram for wrench::HostHasChangedSpeedMessage:
wrench::HostStateChangeDetectorMessage wrench::SimulationMessage

Public Member Functions

 HostHasChangedSpeedMessage (std::string hostname, double speed)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::string hostname
 The name of the host that has tuned off.
 
double speed
 The host's (new) speed.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::HostStateChangeDetectorMessage
 HostStateChangeDetectorMessage ()
 Constructor. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ HostHasChangedSpeedMessage()

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

Constructor.

Parameters
hostnamethe name of the host that has changed speed
speedthe host's new speed

The documentation for this class was generated from the following files: