class

Phosphor::DataEvent

Inherits Phosphor::Event < Reference < Object

Carries data arriving from a Port (e.g. an HTTP poll, a log tail).

payload is a String placeholder. In practice each IntervalPort subclass produces its own typed Event subclass (e.g. CpuStatEvent) rather than wrapping unstructured strings; this base form covers the generic case.

Constructors

new(payload : String)
Source

Instance methods

payload
Source