wrench::HostHasTurnedOffMessage Class Reference

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

#include <HostStateChangeDetectorMessage.h>

Inheritance diagram for wrench::HostHasTurnedOffMessage:
wrench::HostStateChangeDetectorMessage wrench::SimulationMessage

Public Member Functions

 HostHasTurnedOffMessage (std::string hostname)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, 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.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

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

Detailed Description

A message sent by the HostStateChangeDetector to notify some listener that a host has turned off.

Constructor & Destructor Documentation

◆ HostHasTurnedOffMessage()

wrench::HostHasTurnedOffMessage::HostHasTurnedOffMessage ( std::string  hostname)
explicit

Constructor.

Parameters
hostnamethe name of the host that has turned off

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