public class JingleSessionRequest extends Object
Constructor and Description |
---|
JingleSessionRequest(JingleManager manager,
Jingle jingle)
A receive request is constructed from the Jingle Initiation request
received from the initiator.
|
Modifier and Type | Method and Description |
---|---|
JingleSession |
accept()
Accepts this request and creates the incoming Jingle session.
|
org.jxmpp.jid.Jid |
getFrom()
Returns the fully-qualified jabber ID of the user that requested this
session.
|
Jingle |
getJingle()
Returns the Jingle stanza that was sent by the requester which contains
the parameters of the session.
|
String |
getSessionID()
Returns the session ID that uniquely identifies this session.
|
void |
reject()
Rejects the session request.
|
public JingleSessionRequest(JingleManager manager, Jingle jingle)
manager
- The manager handling this requestjingle
- The jingle IQ received from the initiator.public org.jxmpp.jid.Jid getFrom()
public String getSessionID()
public Jingle getJingle()
public JingleSession accept() throws XMPPException, SmackException, InterruptedException
SmackException
InterruptedException
XMPPException
public void reject()