new Binding(source, destination, routingKey)
Binging class represents the binding between an exchange and a queue.
Parameters:
Name | Type | Description |
---|---|---|
source | object | |
destination | object | |
routingKey | string | used routing key |
- Source
Extends
Methods
addToScene(scene) → {object}
Add an object as actor to scene.
Parameters:
Name | Type | Description |
---|---|---|
scene | Scene | scene on canvas |
- Inherited From
Returns:
this
- Type:
- object
createUUID() → {string}
Generates an UUID, used to identify every object in the scene.
https://www.w3resource.com/javascript-exercises/fundamental/javascript-fundamental-exercise-253.php
https://www.w3resource.com/javascript-exercises/fundamental/javascript-fundamental-exercise-253.php
- Inherited From
Returns:
- uuid
- Type:
- string
drawLabel(text)
http://phrogz.net/tmp/canvas_rotated_text.html
Parameters:
Name | Type | Description |
---|---|---|
text | string | text to draw as label |
- Source
render()
Renders the line between bind components.
- Source
setCoords()
Sets x and y for the source and destination property.
- Source