[+] IIOPipeEventListener::OnPipeFailureEvent

This commit is contained in:
Reece Wilson 2023-10-16 01:56:28 +01:00
parent 240685f7a6
commit 358964efb0
3 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,7 @@ namespace Aurora::IO
AUKN_INTERFACE(IIOPipeEventListener,
AUI_METHOD(void, OnPipePartialEvent, (AuUInt, uTransferred)),
AUI_METHOD(void, OnPipeSuccessEvent, ()),
AUI_METHOD(void, OnPipeFailureEvent, ())
AUI_METHOD(void, OnPipeFailureEvent, ()),
AUI_METHOD(void, OnPipeReallocEvent, (bool, bSuccess))
);
}

View File

@ -128,6 +128,11 @@ namespace Aurora::IO::Net
// Other method is used
}
void SocketChannelInput::OnPipeReallocEvent(bool bSuccess)
{
}
void SocketChannelInput::OnPipeSuccessEvent()
{
DecrementWorker();

View File

@ -32,6 +32,7 @@ namespace Aurora::IO::Net
bool OnDataAvailable(Memory::ByteBuffer &view) override;
// listener
void OnPipeReallocEvent(bool bSuccess) override;
void OnPipePartialEvent(AuUInt transferred) override;
void OnPipeSuccessEvent() override;
void OnPipeFailureEvent() override;