Module

frontend/src/api/socketHandler/socketListeners

Methods

# inner errorRoomConnection()

Registers listener on faulty connection to a user room

View Source frontend/src/api/socketHandler/socketListeners.js, line 17

# inner newClientJoined()

Registers listener when a new client joins the room

View Source frontend/src/api/socketHandler/socketListeners.js, line 24

# inner newRobotMonitorUpdate(logSetterMethod)

Register listener when a new robot log update has been send
Parameters:
Name Type Description
logSetterMethod function Method reference to update the state of the log in the robotInteractionCockpit

View Source frontend/src/api/socketHandler/socketListeners.js, line 32

# inner newRobotStatusUpdate(statusSetterMethod)

Register listener on when a new robot status has been set
Parameters:
Name Type Description
statusSetterMethod function Method reference to update the status of the log in the robotInteractionCockpit

View Source frontend/src/api/socketHandler/socketListeners.js, line 42

# inner successRoomConnection()

Registers listener on successful connection to a user room

View Source frontend/src/api/socketHandler/socketListeners.js, line 10