Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: He Jie Xu <hejie.xu@intel.com>
  • Loading branch information
soulxu committed Nov 23, 2023
1 parent be06ba7 commit fd27973
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/common/io/io_uring_worker_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ class IoUringSocketEntry : public IoUringSocket,

void setFileReadyCb(Event::FileReadyCb cb) override { cb_ = std::move(cb); }

void onReadCompleted();
void onWriteCompleted();
void onRemoteClose();

protected:
/**
* For the socket to remove itself from the IoUringWorker and defer deletion.
*/
void cleanup();
void onReadCompleted();
void onWriteCompleted();
void onRemoteClose();

os_fd_t fd_{INVALID_SOCKET};
IoUringWorkerImpl& parent_;
Expand Down

0 comments on commit fd27973

Please sign in to comment.