|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.adhoc.AdHocRequest
public class AdHocRequest
Class to provide request data to ad-hoc command.
| Constructor Summary | |
|---|---|
AdHocRequest(Action action,
String node,
String sessionId,
IQ iq,
Map<String,Session> sessions)
|
|
| Method Summary | |
|---|---|
Action |
getAction()
Returns Action selected by client. |
JabberDataElement |
getForm()
Return Data Form sent by client in request. |
IQ |
getIq()
Returns IQ stanza constains command request. |
String |
getNode()
Returns called node of ad-hoc command. |
Session |
getSession()
Returns current Session. |
Session |
getSession(boolean createNew)
Returns current Session. |
String |
getSessionId()
Return session ID, or null if request hasn't
Session. |
void |
setSessionId(String sessionId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdHocRequest(Action action,
String node,
String sessionId,
IQ iq,
Map<String,Session> sessions)
| Method Detail |
|---|
public Action getAction()
public JabberDataElement getForm()
public IQ getIq()
public String getNode()
public Session getSession()
public Session getSession(boolean createNew)
createNew is true.
createNew - true to create new session.
null if
createNew is false and request hasn't
Session.public String getSessionId()
null if request hasn't
Session.
public void setSessionId(String sessionId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||