| net.fenyo.gnetwatch.actions.Action net.fenyo.gnetwatch.actions.ActionFlood
ActionFlood | public class ActionFlood extends Action (Code) | | Instances of this action class can flood their target with UDP
and create events of type EventFlood to log the throughput.
author: Alexandre Fenyo version: $Id: ActionFlood.java,v 1.17 2007/03/12 05:04:15 fenyo Exp $ |
Method Summary | |
protected void | disposed() Called when this element is being removed.
none. | public long | getMaxDelay() Returns the timeout associated with this action.
none. | public String | getQueueName() Returns the associated target.
none. | public void | interrupt(InterruptCause cause) Asks this action to stop rapidely.
Parameters: cause - cause. | public void | invoke() Floods the target.
none. |
ActionFlood | public ActionFlood(Target target, Background background)(Code) | | Constructor.
Parameters: target - target this action works on. Parameters: background - queue manager by which this action will add events. |
ActionFlood | public ActionFlood()(Code) | | Constructor.
none. |
disposed | protected void disposed()(Code) | | Called when this element is being removed.
none. void. |
getMaxDelay | public long getMaxDelay()(Code) | | Returns the timeout associated with this action.
none. long timeout. |
getQueueName | public String getQueueName()(Code) | | Returns the associated target.
none. Target associated target. |
interrupt | public void interrupt(InterruptCause cause)(Code) | | Asks this action to stop rapidely.
Parameters: cause - cause. void. throws: IOException - IO exception. |
|
|