tigase.jaxmpp.core.client.xmpp.modules.jingle
Class JingleModule
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.jingle.JingleModule
- All Implemented Interfaces:
- XmppModule
public class JingleModule
- extends AbstractIQModule
|
Method Summary |
void |
acceptSession(JID jid,
String sid,
String name,
Element description,
List<Element> transports)
|
Criteria |
getCriteria()
Criteria |
String[] |
getFeatures()
Returns features what are implemented by Module. |
void |
initiateSession(JID jid,
String sid,
String name,
Element description,
List<Element> transports)
|
protected void |
processGet(IQ iq)
Method for processing stanza <iq type='get'>. |
protected void |
processSet(IQ iq)
Method for processing stanza <iq type='set'>. |
void |
terminateSession(JID jid,
String sid,
JID initiator)
|
void |
transportInfo(JID recipient,
JID initiator,
String sid,
Element content)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JINGLE_XMLNS
public static final String JINGLE_XMLNS
- See Also:
- Constant Field Values
JINGLE_RTP1_XMLNS
public static final String JINGLE_RTP1_XMLNS
- See Also:
- Constant Field Values
FEATURES
public static final String[] FEATURES
CRIT
public static final Criteria CRIT
JingleSessionAccept
public static final EventType JingleSessionAccept
JingleTransportInfo
public static final EventType JingleTransportInfo
JingleSessionInitiation
public static final EventType JingleSessionInitiation
JingleSessionTerminate
public static final EventType JingleSessionTerminate
JingleModule
public JingleModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
acceptSession
public void acceptSession(JID jid,
String sid,
String name,
Element description,
List<Element> transports)
throws JaxmppException
- Throws:
JaxmppException
getCriteria
public Criteria getCriteria()
- Description copied from interface:
XmppModule
- Criteria
- Returns:
getFeatures
public String[] getFeatures()
- Description copied from interface:
XmppModule
Returns features what are implemented by Module.
See Service
Discovery Features
- Returns:
- array of features
initiateSession
public void initiateSession(JID jid,
String sid,
String name,
Element description,
List<Element> transports)
throws JaxmppException
- Throws:
JaxmppException
processGet
protected void processGet(IQ iq)
throws JaxmppException
- Description copied from class:
AbstractIQModule
- Method for processing stanza
<iq type='get'>.
- Specified by:
processGet in class AbstractIQModule
- Parameters:
iq - incoming XMPP stanza
- Throws:
JaxmppException
processSet
protected void processSet(IQ iq)
throws JaxmppException
- Description copied from class:
AbstractIQModule
- Method for processing stanza
<iq type='set'>.
- Specified by:
processSet in class AbstractIQModule
- Parameters:
iq - incoming XMPP stanza
- Throws:
JaxmppException
terminateSession
public void terminateSession(JID jid,
String sid,
JID initiator)
throws JaxmppException
- Throws:
JaxmppException
transportInfo
public void transportInfo(JID recipient,
JID initiator,
String sid,
Element content)
throws JaxmppException
- Throws:
JaxmppException
Copyright © 2006-2012 Tigase. All Rights Reserved.