Skip to content

Commit

Permalink
Migrate ReliableMessageMgr::mRetransTable to Pool
Browse files Browse the repository at this point in the history
  • Loading branch information
kghost committed Sep 24, 2021
1 parent 3647c29 commit 2053124
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 175 deletions.
10 changes: 0 additions & 10 deletions src/messaging/ReliableMessageContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,6 @@ ReliableMessageContext::ReliableMessageContext() :
mConfig(gDefaultReliableMessageProtocolConfig), mNextAckTimeTick(0), mPendingPeerAckMessageCounter(0)
{}

void ReliableMessageContext::RetainContext()
{
GetExchangeContext()->Retain();
}

void ReliableMessageContext::ReleaseContext()
{
GetExchangeContext()->Release();
}

bool ReliableMessageContext::AutoRequestAck() const
{
return mFlags.Has(Flags::kFlagAutoRequestAck);
Expand Down
1 change: 0 additions & 1 deletion src/messaging/ReliableMessageContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ namespace Messaging {
class ChipMessageInfo;
class ExchangeContext;
enum class MessageFlagValues : uint32_t;
class ReliableMessageContext;
class ReliableMessageMgr;

class ReliableMessageContext
Expand Down
Loading

0 comments on commit 2053124

Please sign in to comment.