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

MQTT server publish overload #86

Merged
merged 2 commits into from
Mar 8, 2018

Conversation

Sammers21
Copy link
Contributor

a solution for #85

@vietj vietj added the to review label Mar 2, 2018
@Sammers21 Sammers21 force-pushed the mqtt_server_publish_overload branch from f442ead to 20e5930 Compare March 2, 2018 09:35
@Sammers21
Copy link
Contributor Author

@ppatierno, can you please take a look at it?

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

@Sammers21 can you add a unit test for this please ?

endpoint.publish(this.topic, Buffer.buffer(this.message), subscribe.topicSubscriptions().get(0).qualityOfService(), false, false);
endpoint.publish(this.topic, Buffer.buffer(this.message), subscribe.topicSubscriptions().get(0).qualityOfService(), false, false, publishSent -> {
context.assertTrue(publishSent.succeeded());
this.async.complete();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have changed MqttServerPublishTest in a way to test proposed functionality.

@Sammers21
Copy link
Contributor Author

@ppatierno, ping :)

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

3 participants