You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello alsm,
in the "/hrotti/client",I have a doubt,when func Recive( ), recive a message, first use ReadPacket(c.conn), when ReadPacket(c.conn) , the func "NewControlPacketWithHeader(fh)" in the ReadPacket() will be get a NEW uuid value;
then when msg.(type)=*PubackPacket ,the func "hrotti.PersistStore.Delete(c.clientID, OUTBOUND, pa.UUID())" is pa.UUID()= the func "NewControlPacketWithHeader(fh)" get the NEW uuid value, is that right? the real record can be deleted ? I look forward to your answer!
In addition ,when msg.(type)=*PubcompPacket,why do you delete “hrotti.PersistStore.Delete(c, OUTBOUND, pc.UUID)”??
The text was updated successfully, but these errors were encountered:
hello alsm,
in the "/hrotti/client",I have a doubt,when func Recive( ), recive a message, first use ReadPacket(c.conn), when ReadPacket(c.conn) , the func "NewControlPacketWithHeader(fh)" in the ReadPacket() will be get a NEW uuid value;
then when msg.(type)=*PubackPacket ,the func "hrotti.PersistStore.Delete(c.clientID, OUTBOUND, pa.UUID())" is pa.UUID()= the func "NewControlPacketWithHeader(fh)" get the NEW uuid value, is that right? the real record can be deleted ? I look forward to your answer!
In addition ,when msg.(type)=*PubcompPacket,why do you delete “hrotti.PersistStore.Delete(c, OUTBOUND, pc.UUID)”??
The text was updated successfully, but these errors were encountered: