public class JingleModule extends Object implements XmppModule
| Modifier and Type | Class and Description |
|---|---|
static interface |
JingleModule.JingleSessionAcceptHandler |
static interface |
JingleModule.JingleSessionInfoHandler |
static interface |
JingleModule.JingleSessionInitiationHandler |
static interface |
JingleModule.JingleSessionTerminateHandler |
static interface |
JingleModule.JingleTransportInfoHandler |
| Modifier and Type | Field and Description |
|---|---|
static Criteria |
CRIT |
static String[] |
FEATURES |
static String |
JINGLE_RTP1_XMLNS |
static String |
JINGLE_XMLNS |
| Constructor and Description |
|---|
JingleModule(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptSession(JID jid,
String sid,
String name,
Element description,
List<Transport> transports) |
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
initiateSession(JID jid,
String sid,
String name,
Element description,
List<Transport> transports) |
void |
process(Element element)
Main method of module.
|
protected void |
processIq(IQ iq) |
void |
terminateSession(JID jid,
String sid,
JID initiator) |
void |
transportInfo(JID recipient,
JID initiator,
String sid,
Element content) |
public static final String JINGLE_RTP1_XMLNS
public static final String JINGLE_XMLNS
public static final Criteria CRIT
public static final String[] FEATURES
public JingleModule(Context context)
public void acceptSession(JID jid, String sid, String name, Element description, List<Transport> transports) throws JaxmppException
JaxmppExceptionpublic Criteria getCriteria()
XmppModulegetCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
getFeatures in interface XmppModulepublic void initiateSession(JID jid, String sid, String name, Element description, List<Transport> transports) throws JaxmppException
JaxmppExceptionpublic void process(Element element) throws JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaJaxmppExceptionprotected void processIq(IQ iq) throws JaxmppException
JaxmppExceptionpublic void terminateSession(JID jid, String sid, JID initiator) throws JaxmppException
JaxmppExceptionpublic void transportInfo(JID recipient, JID initiator, String sid, Element content) throws JaxmppException
JaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.