Fix licenses
[folly.git] / folly / io / async / AsyncTimeout.h
index bf1947d0883e91e35bc6447a4e386d27f7392a26..86e91cf09c1bf9c951d37cf3c14746e7e7cea9db 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * Copyright 2014 Facebook, Inc.
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
@@ -138,6 +140,10 @@ class AsyncTimeout : private boost::noncopyable {
   void detachTimeoutManager();
   void detachEventBase();
 
+  const TimeoutManager* getTimeoutManager() {
+    return timeoutManager_;
+  }
+
   /**
    * Returns the internal handle to the event
    */