Skip to content

Conversation

@chris-smith
Copy link
Collaborator

This creates a single TCPROS server on the node to handle subscriber and service client connections. Previously each publisher and service was creating their own. Connections are handed off to publishers and services according to the connection header.

This creates a single TCPROS server on the node to handle
subscriber and service client connections. Previously each
publisher and service was creating their own.
@chris-smith
Copy link
Collaborator Author

@IanTheEngineer can you look at this and merge/dissent?

@chris-smith chris-smith mentioned this pull request Jun 18, 2016
return new Promise((resolve, reject) => {
_createServer(resolve);
subscriber.on('error', () => {
this._log.warn('Sub %s had error', subscriber.name);
Copy link
Member

Choose a reason for hiding this comment

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

Seems a bit funny to me that this error is reported as a warning. Was that intended?

@IanTheEngineer
Copy link
Member

This pull request looks great. Sorry it took me so long to review. I'm going to merge as-is. At some point we should document/comment the functions as to their intended purposes (or at least the public-facing API).

@IanTheEngineer IanTheEngineer merged commit 4a484f5 into RethinkRobotics-opensource:kinetic-devel Jun 19, 2016
IanTheEngineer pushed a commit that referenced this pull request Jun 28, 2016
Pull request for issue #20. This is built on #19.

* Pulls in bunyan for logging backend.
* Exposes various log methods through rosnodejs.log.
* Publish logs to /rosout
* Logging tests
* Adds persistent option for Service Clients
@chris-smith chris-smith deleted the singleTcprosServer branch November 29, 2016 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants