[+] also gonna impl this flush
This commit is contained in:
parent
bbd4679bed
commit
78091bf84b
@ -148,6 +148,14 @@ namespace Aurora::IO::Net
|
||||
pChannel->pParent_->Shutdown(false);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void Flush() override
|
||||
{
|
||||
if (auto pChannel = AuTryLockMemoryType(this->swpChannel))
|
||||
{
|
||||
pChannel->pParent_->ToChannel()->ScheduleOutOfFrameWrite();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return this->pCachedWriter = AuMakeSharedThrow<A>(this->AsWritableByteBuffer(), AuSPtr<SocketChannel>(this->pParent_->SharedFromThis(), this));
|
||||
|
Loading…
Reference in New Issue
Block a user