public abstract class EventListenerBaseClass extends Object implements FilteredManagerListener<ManagerEvent>, AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
class |
EventListenerBaseClass.AutoClose
This class exists so we can start and stop the listener using the new
try-with-resource of JRE7.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EventListenerBaseClass(String descriptiveName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stops the listener.
|
String |
getName()
Provides a unique name for the listener.
|
void |
startListener(PBX iPBX)
we have to take the pbx as an arg here as we sometimes this is called
during the creation phase of for the pbx, and the factory can't give out
the pbx at that point event though it is initialised.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, onManagerEvent, requiredEventsprotected EventListenerBaseClass(String descriptiveName)
public String getName()
FilteredManagerListenergetName in interface FilteredManagerListener<ManagerEvent>public void startListener(PBX iPBX)
public void close()
close in interface AutoCloseableCopyright © 2004–2017. All rights reserved.