|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.jingle.JingleSessionRequest
public class JingleSessionRequest
A Jingle session request.
This class is a facade of a received Jingle request. The user can have direct access to the Jingle packet (JingleSessionRequest.getJingle() ) of the request or can use the convencience methods provided by this class.
| Constructor Summary | |
|---|---|
JingleSessionRequest(JingleManager manager,
Jingle jingle)
A recieve request is constructed from the Jingle Initiation request received from the initator. |
|
| Method Summary | |
|---|---|
JingleSession |
accept()
Accepts this request and creates the incoming Jingle session. |
java.lang.String |
getFrom()
Returns the fully-qualified jabber ID of the user that requested this session. |
Jingle |
getJingle()
Returns the Jingle packet that was sent by the requester which contains the parameters of the session. |
java.lang.String |
getSessionID()
Returns the session ID that uniquely identifies this session. |
void |
reject()
Rejects the session request. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JingleSessionRequest(JingleManager manager,
Jingle jingle)
manager - The manager handling this requestjingle - The jingle IQ recieved from the initiator.| Method Detail |
|---|
public java.lang.String getFrom()
public java.lang.String getSessionID()
public Jingle getJingle()
public JingleSession accept()
throws XMPPException
XMPPExceptionpublic void reject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||