From 874ef58089dd5e80c1830c3bb6de2506ed2fdccc Mon Sep 17 00:00:00 2001 From: Hitesh Khandelwal Date: Thu, 31 Jul 2014 14:47:46 -0700 Subject: [PATCH] API for getTimeoutManager Test Plan: Tested end-to-end with D1342452 Reviewed By: mshneer@fb.com Subscribers: alandau, bmatheny FB internal diff: D1470814 Tasks: 2682011 --- folly/io/async/AsyncTimeout.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/io/async/AsyncTimeout.h b/folly/io/async/AsyncTimeout.h index bf1947d0..1385c5d2 100644 --- a/folly/io/async/AsyncTimeout.h +++ b/folly/io/async/AsyncTimeout.h @@ -138,6 +138,10 @@ class AsyncTimeout : private boost::noncopyable { void detachTimeoutManager(); void detachEventBase(); + const TimeoutManager* getTimeoutManager() { + return timeoutManager_; + } + /** * Returns the internal handle to the event */ -- 2.34.1