EventEmitter.EventObserver
OutputHandler
public abstract class EventHandler extends Object implements EventEmitter.EventObserver
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
active |
|
private Class[] |
events |
|
protected EventEmitter |
source |
Constructor | Description |
---|---|
EventHandler(EventEmitter source,
boolean active,
Class... events) |
|
EventHandler(Nar n,
boolean active,
Class... events) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isActive() |
|
void |
setActive(boolean b) |
event
protected final EventEmitter source
protected boolean active
private final Class[] events
public EventHandler(EventEmitter source, boolean active, Class... events)
Copyright © 2020 OpenNARS. All rights reserved.