public class SessionObject extends Object implements SessionObjectAction, SampleAction, TestAction, ControlAction, DataProvider
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SessionObject.LimitPolicy |
| Modifier and Type | Field and Description |
|---|---|
protected File |
currentDirectory |
protected org.apache.commons.net.ftp.FTPClient |
ftp |
protected int |
lastReplyCode |
protected String |
lastReplyString |
protected boolean |
loggedIn |
| Constructor and Description |
|---|
SessionObject(Hashtable<String,String> params)
Constructor for specimen object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
createNewSessionObject() |
void |
doControl(int number,
Map<String,String> params) |
String |
doGet(String var) |
ActionEvent |
doSample(int number,
Map<String,String> params,
ActionEvent report) |
boolean |
doTest(int number,
Map<String,String> params) |
protected static String |
replyString(org.apache.commons.net.ftp.FTP ftp)
Format a global reply string from a set of replies received by the given FTP client.
|
void |
reset() |
protected org.apache.commons.net.ftp.FTPClient ftp
protected boolean loggedIn
protected int lastReplyCode
protected String lastReplyString
protected File currentDirectory
protected static String replyString(org.apache.commons.net.ftp.FTP ftp)
ftp - the FTP client from which to get the FTP reply stringspublic Object createNewSessionObject()
createNewSessionObject in interface SessionObjectActionSessionObjectAction.createNewSessionObject()public void close()
close in interface SessionObjectActionSessionObjectAction.close()public void reset()
reset in interface SessionObjectActionSessionObjectAction.reset()public ActionEvent doSample(int number, Map<String,String> params, ActionEvent report)
doSample in interface SampleActionorg.ow2.clif.scenario.isac.plugin.SampleAction#doSample()public boolean doTest(int number,
Map<String,String> params)
doTest in interface TestActionorg.ow2.clif.scenario.isac.plugin.TestAction#doTest()public void doControl(int number,
Map<String,String> params)
doControl in interface ControlActionorg.ow2.clif.scenario.isac.plugin.ControlAction#doControl()public String doGet(String var)
doGet in interface DataProviderorg.ow2.clif.scenario.isac.plugin.DataProvider#doGet()Copyright © 2020 OW2. All Rights Reserved.