Commit 709f4ff7 authored by Neel Goyal's avatar Neel Goyal Committed by Facebook Github Bot

Add getEventBase() to AsyncUDPSocket

Summary: Add an event base getter for AsyncUDPSocket similar to the other socket classes.

Reviewed By: knekritz

Differential Revision: D5498587

fbshipit-source-id: ac3179e03485328417ed9863f6bb790de7c691cb
parent f0b5826b
......@@ -158,6 +158,10 @@ class AsyncUDPSocket : public EventHandler {
reuseAddr_ = reuseAddr;
}
EventBase* getEventBase() const {
return eventBase_;
}
private:
AsyncUDPSocket(const AsyncUDPSocket&) = delete;
AsyncUDPSocket& operator=(const AsyncUDPSocket&) = delete;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment