Brooklyn

brooklyn.event
[Java] Interface SensorEvent


public interface SensorEvent

A tuple representing a piece of data from a Sensor on an Entity.


Method Summary
Sensor getSensor()

The Sensor describing the data.

Entity getSource()

The Entity where the data originated.

long getTimestamp()

The time this data was published.

java.lang.Object getValue()

The value for the Sensor data.

 

Method Detail

getSensor

public Sensor getSensor()
The Sensor describing the data.


getSource

public Entity getSource()
The Entity where the data originated.


getTimestamp

public long getTimestamp()
The time this data was published.


getValue

public java.lang.Object getValue()
The value for the Sensor data.


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.