NodeManager

final class NodeManager(val server: Server) extends ModelImpl[Update]
Companion
object
trait ModelImpl[Update]
trait Model[Update]
class Object
trait Matchable
class Any

Value members

Concrete methods

def clear(): Unit
def getNode(id: Int): Option[Node]
def nodeChange(e: NodeChange): Unit
def register(node: Node): Unit
def unregister(node: Node): Unit

Inherited methods

def addListener(pf: Listener[Update]): pf
Inherited from
ModelImpl
final protected def dispatch(update: Update): Unit

Synchronously dispatches an update to all currently registered listeners. Non fatal exceptions are caught on a per-listener basis without stopping the dispatch.

Synchronously dispatches an update to all currently registered listeners. Non fatal exceptions are caught on a per-listener basis without stopping the dispatch.

Inherited from
ModelImpl
protected def releaseListeners(): Unit

Removes all listeners. This is useful when disposing the model, to remove any unnecessary references.

Removes all listeners. This is useful when disposing the model, to remove any unnecessary references.

Inherited from
ModelImpl
def removeListener(pf: Listener[Update]): Unit
Inherited from
ModelImpl
protected def startListening(): Unit

Subclasses can override this to issue particular actions when the first listener has been registered

Subclasses can override this to issue particular actions when the first listener has been registered

Inherited from
ModelImpl
protected def stopListening(): Unit

Subclasses can override this to issue particular actions when the last listener has been unregistered

Subclasses can override this to issue particular actions when the last listener has been unregistered

Inherited from
ModelImpl

Concrete fields