public class TestSocket extends TestAbstract
CHALLENGE_PATH, COMMAND_EL_NAME, disconnectOk, exception, FIELD_VALUE_PATH, IQ_COMMAND_X_PATH, IQ_EL_NAME, IQ_QUERY_NAME_PATH, IQ_QUERY_OS_PATH, IQ_QUERY_PATH, IQ_QUERY_VERSION_PATH, params, QUERY_EL_NAME, reply, resultCode, STREAM_MECHANISMS_PATH, timeoutOk, varsstanza_variables| Constructor and Description |
|---|
TestSocket()
Creates a new
TestScoket instance. |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementData(String element)
Method description
|
Attribute[] |
getRespElementAttributes(String element)
Method description
|
String[] |
getRespElementNames(String element)
Method description
|
String[] |
getRespOptionalNames(String element)
Method description
|
void |
init(Params map,
Map<String,String> vars)
Describe
init method here. |
String |
nextElementName(tigase.xml.Element reply)
Method description
|
boolean |
run()
Describe
run method here. |
getLastResult, getResultCode, getResultMessage, hasAttributes, release, replyElement, substituteVarspublic String nextElementName(tigase.xml.Element reply)
TestAbstractnextElementName in class TestAbstractpublic String getElementData(String element)
TestAbstractgetElementData in class TestAbstractpublic String[] getRespElementNames(String element)
TestAbstractgetRespElementNames in class TestAbstractpublic Attribute[] getRespElementAttributes(String element)
TestAbstractgetRespElementAttributes in class TestAbstractpublic String[] getRespOptionalNames(String element)
TestAbstractgetRespOptionalNames in class TestAbstractpublic boolean run()
run method here.run in interface TestIfcrun in class TestAbstractboolean valueCopyright © 2005–2017 Tigase. All rights reserved.