constructor(registry, broker, node) {
		this.registry = registry;
		this.broker = broker;

		this.id = node.id;
		this.node = node;

		this.local = node.id === broker.nodeID;
		this.state = true;
	}
Creates an instance of Endpoint.
@param {Registry} registry
@param {ServiceBroker} broker
@param {Node} node
@memberof Endpoint