PluginEventListener class

Implemented types

Constructors

PluginEventListener(String _id)

Properties

hashCode int
The hash code for this object.
no setterinherited
messageHandler Map<MessageType, Function>
getter/setter pair
messages List<Message>
getter/setter pair
numberHandledMessages int
getter/setter pair
numberReceivedMessages int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPluginEventHandler(MessageType type, Function handler) → void
Add a handler for a special message type If the message type has been handled by one handler, the old handler will be overwrided by the new one
getAllPluginEvents() List<Message>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pluginEvent(GeigerUrl? url, Message msg) → void
Called when the listened event sends a msg to a url.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited