|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.samplers.AbstractSampler
kg.apc.jmeter.samplers.AbstractIPSampler
public abstract class AbstractIPSampler
| Field Summary | |
|---|---|
static String |
CRLF
|
static String |
DATA
|
static String |
EMPTY
|
static String |
HOSTNAME
|
static String |
PORT
|
static String |
RC200
|
static String |
RC500
|
static String |
RECV_BUFFER_LEN_PROPERTY
|
protected static int |
recvBufSize
|
protected int |
recvDataLimit
|
static String |
RESULT_DATA_LIMIT
|
static String |
TIMEOUT
|
| Fields inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
| Constructor Summary | |
|---|---|
AbstractIPSampler()
|
|
| Method Summary | |
|---|---|
protected abstract AbstractSelectableChannel |
getChannel()
|
String |
getHostName()
|
String |
getPort()
|
protected int |
getPortAsInt()
|
ByteBuffer |
getRecvBuf()
|
String |
getRequestData()
|
String |
getTimeout()
|
protected int |
getTimeoutAsInt()
|
protected abstract byte[] |
processIO(org.apache.jmeter.samplers.SampleResult res)
|
org.apache.jmeter.samplers.SampleResult |
sample(org.apache.jmeter.samplers.Entry entry)
|
void |
setHostName(String text)
|
void |
setPort(String text)
|
void |
setRequestData(String text)
|
void |
setTimeout(String text)
|
| Methods inherited from class org.apache.jmeter.samplers.AbstractSampler |
|---|
applies |
| Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
|---|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traverseProperty |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jmeter.samplers.Interruptible |
|---|
interrupt |
| Methods inherited from interface org.apache.jmeter.testelement.TestElement |
|---|
addTestElement, canRemove, clear, clearTestElementChildren, clone, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getThreadContext, getThreadName, isEnabled, isRunningVersion, isTemporary, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse |
| Field Detail |
|---|
public static final String RECV_BUFFER_LEN_PROPERTY
public static final String RESULT_DATA_LIMIT
public static final String HOSTNAME
public static final String PORT
public static final String TIMEOUT
public static final String DATA
public static final String CRLF
public static final String EMPTY
public static final String RC200
public static final String RC500
protected static final int recvBufSize
protected final int recvDataLimit
| Constructor Detail |
|---|
public AbstractIPSampler()
| Method Detail |
|---|
public ByteBuffer getRecvBuf()
public final String getHostName()
public String getPort()
public String getRequestData()
public String getTimeout()
public void setHostName(String text)
public void setPort(String text)
public void setRequestData(String text)
public void setTimeout(String text)
protected int getPortAsInt()
protected int getTimeoutAsInt()
public org.apache.jmeter.samplers.SampleResult sample(org.apache.jmeter.samplers.Entry entry)
sample in interface org.apache.jmeter.samplers.Sampler
protected abstract AbstractSelectableChannel getChannel()
throws IOException
IOException
protected abstract byte[] processIO(org.apache.jmeter.samplers.SampleResult res)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||