Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Removing the netdriver from the spatial worker connection. #1869

Merged

Conversation

MatthewSandfordImprobable
Copy link
Collaborator

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.


Description

Need to remove all reference to the net driver from the connection. These are changes from master. Simply use a delegate on spatial worker connection that people can bind to if they want to know about successful or failing spatial connection attempts.

@improbable-prow-robot
Copy link

Corresponding JIRA ticket: https://improbableio.atlassian.net/browse/CHINF-886

@improbable-prow-robot improbable-prow-robot added jira/CHINF size/M Denotes a PR that changes 40-149 lines, ignoring generated files. labels Mar 5, 2020
@@ -71,6 +71,12 @@ class SPATIALGDK_API USpatialWorkerConnection : public UObject, public FRunnable
FReceptionistConfig ReceptionistConfig;
FLocatorConfig LocatorConfig;

DECLARE_DELEGATE(OnConnectionToSpatialOSSucceededDelegate)
OnConnectionToSpatialOSSucceededDelegate OnConnectedCallback;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comparing with master and don't see this line there. is this part needed?

oh or is this from the ConnectionManager and we don't have that one in this rc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I this was moved to the spatial connection manager. Fun fun fun.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It exists in the USpatialConnectionManager :D

@MatthewSandfordImprobable MatthewSandfordImprobable merged commit 32081f1 into 0.8.1-preview-rc Mar 5, 2020
@MatthewSandfordImprobable MatthewSandfordImprobable deleted the bugfix/CHINF-886-crash-fix branch March 5, 2020 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
jira/CHINF size/M Denotes a PR that changes 40-149 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants