tigase.jaxmpp.core.client.xmpp.modules.jingle
Class JingleModule

java.lang.Object
  extended by tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
      extended by tigase.jaxmpp.core.client.xmpp.modules.jingle.JingleModule
All Implemented Interfaces:
XmppModule

public class JingleModule
extends AbstractIQModule


Nested Class Summary
static class JingleModule.JingleSessionAcceptEvent
           
static class JingleModule.JingleSessionEvent
           
static class JingleModule.JingleSessionInitiationEvent
           
static class JingleModule.JingleSessionTerminateEvent
           
static class JingleModule.JingleTransportInfoEvent
           
 
Field Summary
static Criteria CRIT
           
static String[] FEATURES
           
static String JINGLE_RTP1_XMLNS
           
static String JINGLE_XMLNS
           
static EventType JingleSessionAccept
           
static EventType JingleSessionInitiation
           
static EventType JingleSessionTerminate
           
static EventType JingleTransportInfo
           
 
Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
log, observable, sessionObject, writer
 
Constructor Summary
JingleModule(Observable parentObservable, SessionObject sessionObject, PacketWriter packetWriter)
           
 
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 tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
addListener, addListener, process, removeAllListeners, removeListener, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JingleModule

public JingleModule(Observable parentObservable,
                    SessionObject sessionObject,
                    PacketWriter packetWriter)
Method Detail

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.