Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Pass packet and client to ascoltatore in mosca property #30

Merged
merged 2 commits into from
Jun 10, 2013
Merged

Pass packet and client to ascoltatore in mosca property #30

merged 2 commits into from
Jun 10, 2013

Conversation

davedoesdev
Copy link
Contributor

Allows ascoltatore to access things like message ID, client ID, user if required.

…r example,

when each sensor authenticates using different credentials.
@mcollina
Copy link
Collaborator

mcollina commented Jun 2, 2013

Why you might want to do that?
I think most of Ascoltatori will not understand it.

@davedoesdev
Copy link
Contributor Author

My ascoltatore needs to know who sent the message (it is the sensor ID).

…en publishing.

Don't use published messageId when sending packet to client since it's
unique to the connection.
@davedoesdev
Copy link
Contributor Author

Updated to address issues with this and #31

@davedoesdev
Copy link
Contributor Author

This should be good - is there anything else it needs?

@mcollina
Copy link
Collaborator

mcollina commented Jun 4, 2013

Seems good. It just needs my time to review and publish it.
I'm at EclipseCon, so I'll do on the next Sunday. If you need it before that, just ask.

Thanks again. 🍺

mcollina added a commit that referenced this pull request Jun 10, 2013
Pass MQTT details when publishing to Ascoltatori.
@mcollina mcollina merged commit 9ab66cf into moscajs:master Jun 10, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants