-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
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)”??
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels