Creates an instance of RealtimeCommunicator The realtime communicator uses SignalR to connect to a number of hubs supplied by EVA. The getApplicationConfiguration response will contain the required urls
Debug-able activity stream for SignalR
All the connection grouped by hub
The combined realtime event feed from all hubs as an observable
The current list of EVA SignalR hubs
Helper method to build signalr connection headers
Helper method to build signalr connection query parameters
Disconnect all existing hub connections
Retrieves the connected clients for a specific channel
IChannelStatus
Retrieves the names of the currently connected channels
{string[]}
Retrieves the list of all other clients currently connected to the client app hub.
{IPeerClientStatus[]}
Join a channel on a client app hub connection
Start listening to updates from the client app hub
Start listening to CFD hub events You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to device hub events for a specific device You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to elevation barcode hub events for a specific RequestToken You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to Global Blue hub events for a group identifier You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to magic link hub events for a specific RequestToken You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to order hub events for a specific order You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Start listening to updates for a payment transaction
Start listening to user task hub events You can either supply a callback(s) here or listen to the event$ observable
The subscription details
Leave a channel on a client app hub connection
Stop listening to client app update events
Stop listening to CFD hub events for a specific device
Stop listening to device hub events for a specific device
Stop listening to elevation barcode hub events
The subscription details
Stop listening to Global Blue hub events
The original join request which we need for the group id
Stop listening to magic link hub events
The subscription details
Stop listening to order hub events for a specific order
The subscription details
Stop listening to payment transaction update events
Stop listening to user task hub events for a specific device
Manually triggers a ping to see which other clients are currently connected to the hub
Removes all clients from the peers list that haven't been seen in a while
Push an update for the displayed order to the customer facing display
Force an immediate reconnection attempt. Can be useful for clients coming out of a sleep or apps being resumed. ClientApp hub is usually the one you want to immediately reconnect to
Push a message to all apps registered on the same hub
Send a scanned barcode to a device hub
Transfers a session to another device
Start listening to the getApplicationConfig Will resolve its promise when first application config is received
Stop listening for application configuration changes and disconnect all hubs
The realtime communicator handles the SignalR hubs and their connections