Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

refactor(network): refine codes and comments #380

Merged
merged 4 commits into from
Jan 19, 2020

Conversation

neverchanje
Copy link
Contributor

@neverchanje neverchanje commented Jan 14, 2020

I found some functions are useless anymore, remove them.

- connection_oriented_network::get_client_session
- rpc_session::is_disconnected
- rpc_session::is_connecting
- rpc_session::is_connected

I further reviewed the codes of connection_oriented_network::check_if_conn_threshold_exceeded, and connection_oriented_network::on_server_session_disconnected. I made some refactoring on comments and variable names to improve readability.

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

Successfully merging this pull request may close these issues.

3 participants