Plug-ins
EPL can be extended through the use of plug-ins, which are modules written either in C or C++ and loaded dynamically into the EPL runtime with the import statement. Plug-in modules are invoked in exactly the same way as actions in an EPL event.
See 
Developing Apama Applications in EPL, 
Using Correlator Plug-ins in EPL.