+ /**
+ * Attach this AsyncSignalHandler to an EventBase.
+ *
+ * This should only be called if the AsyncSignalHandler is not currently
+ * registered for any signals and is not currently attached to an existing
+ * EventBase.
+ */
+ void attachEventBase(EventBase* eventBase);
+
+ /**
+ * Detach this AsyncSignalHandler from its EventBase.
+ *
+ * This should only be called if the AsyncSignalHandler is not currently
+ * registered for any signals.
+ */
+ void detachEventBase();
+
+ /**
+ * Get the EventBase used by this AsyncSignalHandler.
+ */
+ EventBase* getEventBase() const {
+ return eventBase_;
+ }
+