Code Examples
A repository of 155 code examples for BeepBeep
misc.temperature.TemperatureAlert Class Reference

A temperature alert message. More...

Public Member Functions

 TemperatureAlert (int rack_id)
 Creates a new temperature alert event. More...
 
int getRackID ()
 Gets the event's rack ID. More...
 
String toString ()
 

Detailed Description

A temperature alert message.

Definition at line 23 of file TemperatureAlert.java.

Constructor & Destructor Documentation

◆ TemperatureAlert()

misc.temperature.TemperatureAlert.TemperatureAlert ( int  rack_id)

Creates a new temperature alert event.

Parameters
rack_idThe ID of the rack where the event occurs

Definition at line 34 of file TemperatureAlert.java.

35  {
36  super();
37  m_rackId = rack_id;
38  }

Member Function Documentation

◆ getRackID()

int misc.temperature.TemperatureAlert.getRackID ( )

Gets the event's rack ID.

Returns
The rack ID

Definition at line 44 of file TemperatureAlert.java.

45  {
46  return m_rackId;
47  }

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