diff --git a/papi-dts/classes/_client_services_client_network_connector_service_.default.html b/papi-dts/classes/_client_services_client_network_connector_service_.default.html index 705c014def..e61193d02a 100644 --- a/papi-dts/classes/_client_services_client_network_connector_service_.default.html +++ b/papi-dts/classes/_client_services_client_network_connector_service_.default.html @@ -1,5 +1,5 @@
Private
clientUnique Guid associated with this connection. Used to verify certain things with server
-Sets up the NetworkConnector by populating connector info, setting up event handlers, and doing +
Sets up the NetworkConnector by populating connector info, setting up event handlers, and doing one of the following:
Function that handles events from the server
Functions that run when network connector events occur like when clients are disconnected
Promise that resolves with connector info when finished connecting
-Private
Optional
connectPromise that resolves when the connection is finished or rejects if disconnected before the +
Private
Optional
connectPromise that resolves when the connection is finished or rejects if disconnected before the connection finishes
-Whether this connector is setting up or has finished setting up its connection and is ready to +
Whether this connector is setting up or has finished setting up its connection and is ready to communicate on the network
-Information about the connector. Populated by the server while connecting
-Disconnects from the connection:
+Information about the connector. Populated by the server while connecting
+Disconnects from the connection:
Sends an event to other processes. Does NOT run the local event subscriptions as they should be +
Sends an event to other processes. Does NOT run the local event subscriptions as they should be run by NetworkEventEmitter after sending on network.
Unique network event type for coordinating between processes
Event to emit on the network
-Private
handleFunction that handles incoming webSocket messages of type Event. Runs the eventHandler provided +
Private
handleFunction that handles incoming webSocket messages of type Event. Runs the eventHandler provided in connect()
Event message to handle
-Private
handleFunction that handles incoming webSocket messages and locally sent messages of type Request. +
Private
handleFunction that handles incoming webSocket messages and locally sent messages of type Request. Runs the requestHandler provided in connect() and sends a message with the response
Request message to handle
Whether this message is coming from the server and we should definitely handle it locally or if it is a locally sent request and we should send to the server if we don't have a local handler
-Private
handleFunction that handles webSocket messages of type Response. Resolves the request associated with +
Private
handleFunction that handles webSocket messages of type Response. Resolves the request associated with the received response message
Response message to resolve
-Private
Optional
localFunction to call when we receive an event. Handles events from the connection by emitting the +
Private
Optional
localFunction to call when we receive an event. Handles events from the connection by emitting the event locally
-Private
Optional
localFunction to call when we receive a request that is registered on this connector. Handles +
Private
Optional
localFunction to call when we receive a request that is registered on this connector. Handles requests from the connection and returns a response to send back
-Private
messageAll message subscriptions - emitters that emit an event each time a message with a specific +
Private
messageAll message subscriptions - emitters that emit an event each time a message with a specific message type comes in
-Notify the server that this client has received its connectorInfo and is ready to go.
+Notify the server that this client has received its connectorInfo and is ready to go.
MUST RUN AFTER connect() WHEN ITS PROMISE RESOLVES
TODO: Is this necessary?
-Private
onReceives and appropriately publishes server webSocket messages
+Private
onReceives and appropriately publishes server webSocket messages
WebSocket message information
Whether this message is from this connector instead of from someone else
-Send a request to the server/a client and resolve after receiving a response
+Send a request to the server/a client and resolve after receiving a response
The type of request
Contents to send in the request
Promise that resolves with the response message
-Private
Optional
requestFunction to call when we are sending a request. Returns a clientId to which to send the request +
Private
Optional
requestFunction to call when we are sending a request. Returns a clientId to which to send the request based on the requestType
-Private
requestsAll requests that are waiting for a response
-Private
sendSend a message to the server via webSocket. Throws if not connected
+Private
requestsAll requests that are waiting for a response
+Private
sendSend a message to the server via webSocket. Throws if not connected
Message to send
-Private
subscribeSubscribes a function to run on webSocket messages of a particular type
+Private
subscribeSubscribes a function to run on webSocket messages of a particular type
The type of message on which to subscribe the function
Function to run with the contents of the webSocket message
Unsubscriber function to run to stop calling the passed-in function on webSocket messages
-Private
Optional
unsubscribeFunction that removes this handleEvent from the connection
-Private
Optional
unsubscribeFunction that removes this initClient handler from the connection
-Private
Optional
unsubscribeFunction that removes this handleRequest from the connection
-Private
Optional
unsubscribeFunction that removes this response handler from the connection
-Private
Optional
webThe webSocket connected to the server
-Generated using TypeDoc
Private
Optional
unsubscribeFunction that removes this handleEvent from the connection
+Private
Optional
unsubscribeFunction that removes this initClient handler from the connection
+Private
Optional
unsubscribeFunction that removes this handleRequest from the connection
+Private
Optional
unsubscribeFunction that removes this response handler from the connection
+Private
Optional
webThe webSocket connected to the server
+Generated using TypeDoc
Handles the connection from the client to the server
-