| net.fenyo.gnetwatch.actions.Action net.fenyo.gnetwatch.actions.ActionHTTP
ActionHTTP | public class ActionHTTP extends Action (Code) | | Instances of this action class can load any HTTP server
and create events of type EventHTTP to log the throughput.
author: Alexandre Fenyo version: $Id: ActionHTTP.java,v 1.8 2007/03/12 05:04:14 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 reason) Asks this action to stop rapidely.
Parameters: cause - cause. | public void | invoke() Loads the server.
none. |
ActionHTTP | public ActionHTTP(Target target, Background background)(Code) | | Constructor.
Parameters: target - target this action works on. Parameters: background - queue manager by which this action will add events. |
ActionHTTP | public ActionHTTP()(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 reason)(Code) | | Asks this action to stop rapidely.
Parameters: cause - cause. void. throws: IOException - IO exception. |
|
|