Skip to content

Monitor onopend

Uffe Björklund edited this page Jun 16, 2015 · 2 revisions

Override the OnOpened method on the Monitor controller. When a monitoring client connects we want to get all Sensor clients and send the information back the the monitoring client so that he knows who is connected.

The information we want to include for each Sensor client is:

  • id (connectionid)
  • obj (object temperature)
  • amb (ambient temperature)
  • name (name of sensor)

next

Clone this wiki locally