Class FlowManager¶
Defined in File peafowl.hpp
Class Documentation¶
-
class
peafowl::FlowManager¶ The FlowManager class is a functor class, which is used to notify the user about some events concerning the flow (e.g. flow termination).
Public Functions
-
~FlowManager()¶
-
void
onTermination(const FlowInfo &info)¶ Function which is called when a flow terminates. This function is called when the flow is expired and deleted. It can be used by the user to access flow information and to clear any data he/she associated to the flow. This function may be called by multiple threads concurrently. Any access to member variables should be appropriately managed by the implementer.
- Parameters
info: The flow information.
-