mirror of https://github.com/opencardev/aasdk
Slight tweaks - Add isInterleaved boolean - If message is NULL and Frame Type is MIDDLE or LAST, then look for an existing message in buffer (if the message_ is null, then we need a FIRST or BULK frame) - If message is still NULL, then we will create a new message, but recognise it as a valid frame ONLY if this is a FIRST or BULK frame because we cannot start on a MIDDLE or LAST. - Rename recentFrameType to thisFrameType for more accuracy - Only Resolve the Frame if the frame is BULK or LAST and the frame is valid. - If the frame is interleaved, then we will use our interleavedPromise handler. Only resolve the main promise if the frame is not interleaved. - Also reset message once resolved. - Carry on reading if the original promise is not resolved (ie FIRST, MIDDLE, or Interleaved frame) - Add some counters for debugging purposes. |
||
---|---|---|
.. | ||
ChannelId.hpp | ||
ChannelReceiveMessageQueue.hpp | ||
ChannelReceivePromiseQueue.hpp | ||
Cryptor.hpp | ||
EncryptionType.hpp | ||
FrameHeader.hpp | ||
FrameSize.hpp | ||
FrameSizeType.hpp | ||
FrameType.hpp | ||
ICryptor.hpp | ||
IMessageInStream.hpp | ||
IMessageOutStream.hpp | ||
IMessenger.hpp | ||
Message.hpp | ||
MessageId.hpp | ||
MessageInStream.hpp | ||
MessageOutStream.hpp | ||
MessageType.hpp | ||
Messenger.hpp | ||
Promise.hpp | ||
Timestamp.hpp |