Event Processing Agent implementation