public class AdHocRequest extends Object
Constructor and Description |
---|
AdHocRequest(Action action,
String node,
String sessionId,
IQ iq,
Map<String,Session> sessions) |
Modifier and Type | Method and Description |
---|---|
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) |
public JabberDataElement getForm()
public IQ getIq()
public String getNode()
public Session getSession()
public Session getSession(boolean createNew)
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)
Copyright © 2006–2023 Tigase. All rights reserved.