geneva.actions.drop¶
-
class
drop.DropAction(environment_id=None)¶ Bases:
actions.action.ActionGeneva action to drop the given packet.
-
__init__(environment_id=None)¶ Initializes this drop action.
Parameters: environment_id (str, optional) – Environment ID of the strategy we are a part of
-
run(packet, logger)¶ The drop action returns None for both it’s left and right children, and does not pass the packet along for continued use.
-
frequency= 1¶
-