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

Wip fix resubscribe on reconnect issue #6

Conversation

aiacovella
Copy link

No description provided.

aiacovella and others added 11 commits February 18, 2016 15:45
…connect so that the parent can reacto to the disconnet.
that get sent some time after SubscribeAck, when the subscription is
complete and ready to receive publishes. Updated test to account for
this.
Implement SubscribeSuccess and SubscribeFailure messages
Changed to resubscribe to the Eclipse paho client event also when a t…
Changed to resubscribe to the Eclipse paho client event also when a t…
@@ -143,7 +148,7 @@ import MqttPubSub._
* 1. MqttClientPersistence will be set to null. @see org.eclipse.paho.client.mqttv3.MqttMessage#setQos(int)
* 2. MQTT client will auto-reconnect
*/
class MqttPubSub(cfg: PSConfig) extends FSM[S, Unit] {
class MqttPubSub(cfg: PSConfig, connectListener: Option[ActorRef] = None) extends FSM[S, Unit] {
Copy link
Owner

@giabao giabao May 21, 2016

Choose a reason for hiding this comment

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

Are connectListener param and object ConnectedToBroker not related to issue #2?
If so, do you need those stuff? @aiacovella

@giabao
Copy link
Owner

giabao commented May 22, 2016

Thank you for your contribution. The issue #2 is now fixed. I will close this PR without merging.

@giabao giabao closed this May 22, 2016
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.

3 participants