new HydroRTC()
Main class instatiator for the server implementation.
- Source:
Methods
run(hostname, port)
Triggers the run for the server given a host and port
Parameters:
Name | Type | Description |
---|---|---|
hostname |
String | For development purposes, it can be localhost |
port |
NUmber | For development purposes, any available port from the local machine |
- Source:
setTasks(tasks)
Allows for tasks to be set into a specific users. See documentation for the types of tasks and/or distribtuon that can be done
Parameters:
Name | Type | Description |
---|---|---|
tasks |
Array | Array of tasks to be set into the . This is an auxiliary method that will be further improved. |
- Source: