EngineListener

de.uni_luebeck.isp.tessla.interpreter.JavaApi$.EngineListener
abstract class EngineListener

Abstract interface of a Listener which can be attached to an Engine to observe the outputs generated there. Use Engine.addListener to attach a Listener to an engine.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def event(stream: String, time: Time, value: Any): Unit

Callback method, called when an output stream raises an event

Callback method, called when an output stream raises an event

Attributes

stream

Name of the stream

time

Timestamp of the event

value

Value of an event

def printEvent(time: Time, value: Any): Unit

Callback method, called when an output stream without name raises an event. This may be the case if the corresponding stream was marked with a @raw annotation. This method is called for outputs for which not event is called.

Callback method, called when an output stream without name raises an event. This may be the case if the corresponding stream was marked with a @raw annotation. This method is called for outputs for which not event is called.

Attributes

time

Timestamp of the event

value

Value of an event