Class: RemoveHostEvent

RemoveHostEvent

RemoveHostEvent indicates that a host has been removed from the graph. Removing a host necessarily implies the removal of all of the host's nodes, but the node removal is treated as separate events and will be dispatched separately.

Constructor

(protected) new RemoveHostEvent(host, head)

Parameters:
Name Type Description
host String The host that was removed.
head AbstractNode The head node of the host that was removed
Source:

Extends

  • Event

Methods

getHead() → {AbstractNode}

Returns the head of the host that was hidden that corresponds to the event.
Source:
Returns:
The head of the host that was hidden
Type
AbstractNode

getHost() → {String}

Returns the host that was hidden that corresponds to the event.
Source:
Returns:
The host that was hidden
Type
String