MemorySessionStore: Session class added

MemorySessionStore$Session: clientSession field added
MemorySessionStore#pendingAck: secondPhaseStore & inflightStore &
inboundFlightMeessageToGuid added

ClientSession#cleanup missed these messages
SubscriptionsDirectoryTest: fixed
SessionsStore#dropInFlightMessagesInSession: changed to cleanSession
This commit is contained in:
Andreas Mager
2017-06-02 18:09:23 +02:00
parent 46a215bd2c
commit fcb7870a38
7 changed files with 169 additions and 126 deletions
@@ -86,6 +86,7 @@ public class NettyMQTTHandler extends ChannelInboundHandlerAdapter {
} catch (Throwable ex) {
LOG.error("Exception was caught while processing MQTT message, " + ex.getCause(), ex);
ctx.fireExceptionCaught(ex);
ctx.close();
}
}