Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove networkAddress from NetworkManager #67

Merged
merged 2 commits into from
Mar 5, 2020
Merged

Conversation

Lymdun
Copy link
Member

@Lymdun Lymdun commented Mar 4, 2020

No description provided.

/// The IP address of the server that this client is connected to.
/// </summary>
[Tooltip("Network Address where client should connect to the server.")]
public string serverIp = "localhost";
Copy link
Contributor

Choose a reason for hiding this comment

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

What if we put it in the transport instead. Do we need to this in the NetworkClient?

@paulpach
Copy link
Contributor

paulpach commented Mar 4, 2020

Hmmm, actually, why do we need a serverIp/hostname anywhere as a field? The GUI can keep it as a field if it wants to, it just needs to start the client and pass the hostname or uri, no real point storing it is there?

@paulpach
Copy link
Contributor

paulpach commented Mar 5, 2020

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1
           

See the complete overview on Codacy

@sonarcloud
Copy link

sonarcloud bot commented Mar 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

No Coverage information No Coverage information
No Duplication information No Duplication information

@paulpach paulpach merged commit e89c32d into master Mar 5, 2020
@paulpach paulpach deleted the nc_hostname branch March 5, 2020 14:48
github-actions bot pushed a commit that referenced this pull request Mar 5, 2020
# [15.0.0](14.0.1-master...15.0.0-master) (2020-03-05)

### Code Refactoring

* Remove networkAddress from NetworkManager ([#67](#67)) ([e89c32d](e89c32d))

### BREAKING CHANGES

* StartClient now receives the server ip
* NetworkManager no longer has NetworkAddress
github-actions bot pushed a commit that referenced this pull request Mar 5, 2020
* refactor: Remove networkAddress from NetworkManager

* Remove networkIp from client too

BREAKING CHANGE: StartClient now receives the server ip
BREAKING CHANGE: NetworkManager no longer has NetworkAddress
github-actions bot pushed a commit that referenced this pull request Mar 5, 2020
# [15.0.0](14.0.1-master...15.0.0-master) (2020-03-05)

### Code Refactoring

* Remove networkAddress from NetworkManager ([#67](#67)) ([e89c32d](e89c32d))

### BREAKING CHANGES

* StartClient now receives the server ip
* NetworkManager no longer has NetworkAddress
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2020

🎉 This PR is included in version 15.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants