public class NoOpEventEmitter extends Object implements EventEmitter
Modifier and Type | Field and Description |
---|---|
static EventEmitter |
INSTANCE |
Constructor and Description |
---|
NoOpEventEmitter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
emit(Event event)
This is called to emit an
Event |
public static final EventEmitter INSTANCE
public void emit(Event event) throws RuntimeException
EventEmitter
Event
emit
in interface EventEmitter
RuntimeException
public void close() throws IOException
close
in interface AutoCloseable
IOException