// Called after unthrottling the connector
virtual void v_unthrottleEvent();
+ // called by ForwardingRoute to register a new route
+ void registerRoute(ForwardingRoute & route);
+
typedef detail::Callback<>::type Callback;
Callback callback_;
bool remoteThrottled_;
bool nativeThrottled_;
- friend class senf::ppi::detail::ForwardForwardingRouteImplementation;
- friend class senf::ppi::detail::BackwardForwardingRouteImplementation;
+ typedef std::vector<ForwardingRoute*> Routes;
+ Routes routes_;
+
+ friend class senf::ppi::ForwardingRoute;
};
/** \brief Active connector baseclass
notifications. */
void onUnthrottle();
+ bool throttled() const;
+
PassiveConnector & peer() const;
protected: