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
JaxmppException
public Criteria getCriteria()
XmppModule
getCriteria
in interface XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
getFeatures
in interface XmppModule
public void initiateSession(JID jid, String sid, String name, Element description, List<Transport> transports) throws JaxmppException
JaxmppException
public void process(Element element) throws JaxmppException
XmppModule
process
in interface XmppModule
element
- incoming XMPP stanzaJaxmppException
protected void processIq(IQ iq) throws JaxmppException
JaxmppException
public void terminateSession(JID jid, String sid, JID initiator) throws JaxmppException
JaxmppException
public void transportInfo(JID recipient, JID initiator, String sid, Element content) throws JaxmppException
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.