added create_network(), delete_network(), create_subnet(), delete_subnet(), process_t...
[plcapi.git] / aspects / __init__.py
index 1df5a9f..aa7b05c 100644 (file)
@@ -1,16 +1,15 @@
-
-
 from pyaspects.weaver import weave_class_method
 
 from PLC.Method import Method
 from aspects.omfaspects import OMFAspect
-
-
+from aspects.ratelimitaspects import RateLimitAspect
 
 def apply_omf_aspect():
     # track all PLC methods to add OMF hooks
     weave_class_method(OMFAspect(), Method, "__call__")
 
+def apply_ratelimit_aspect():
+    weave_class_method(RateLimitAspect(), Method, "__call__")
 
 def apply_debugger_aspect():
     # just log all method calls w/ their parameters