public class JingleSessionRequest extends Object
Constructor and Description |
---|
JingleSessionRequest(JingleManager manager,
Jingle jingle)
A recieve request is constructed from the Jingle Initiation request
received from the initator.
|
Modifier and Type | Method and Description |
---|---|
JingleSession |
accept()
Accepts this request and creates the incoming Jingle session.
|
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.
|
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 recieved from the initiator.public String getFrom()
public String getSessionID()
public Jingle getJingle()
public JingleSession accept() throws XMPPException, SmackException
SmackException
XMPPException
public void reject()