public class JingleModule extends Object implements XmppModule, PacketWriterAware, ObservableAware
| Modifier and Type | Class and Description |
|---|---|
static class |
JingleModule.JingleSessionAcceptEvent |
static class |
JingleModule.JingleSessionEvent |
static class |
JingleModule.JingleSessionInfoEvent |
static class |
JingleModule.JingleSessionInitiationEvent |
static class |
JingleModule.JingleSessionTerminateEvent |
static class |
JingleModule.JingleTransportInfoEvent |
| Modifier and Type | Field and Description |
|---|---|
static Criteria |
CRIT |
static String[] |
FEATURES |
static String |
JINGLE_RTP1_XMLNS |
static String |
JINGLE_XMLNS |
static EventType |
JingleSessionAccept |
static EventType |
JingleSessionInfo |
static EventType |
JingleSessionInitiation |
static EventType |
JingleSessionTerminate |
static EventType |
JingleTransportInfo |
| Constructor and Description |
|---|
JingleModule(SessionObject sessionObject) |
| 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 |
setObservable(Observable observable)
Set the new instance of Observable.
|
void |
setPacketWriter(PacketWriter packetWriter)
Set PacketWriter.
|
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 static final EventType JingleSessionAccept
public static final EventType JingleSessionInfo
public static final EventType JingleSessionInitiation
public static final EventType JingleSessionTerminate
public static final EventType JingleTransportInfo
public JingleModule(SessionObject sessionObject)
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 setPacketWriter(PacketWriter packetWriter)
PacketWriterAwaresetPacketWriter in interface PacketWriterAwarepacketWriter - PacketWriterpublic void setObservable(Observable observable)
ObservableAwaresetObservable in interface ObservableAwareobservable - new instance of Observablepublic void initiateSession(JID jid, String sid, String name, Element description, List<Transport> transports) throws JaxmppException
JaxmppExceptionpublic void process(Element element) throws XMPPException, XMLException, JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionprotected 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–2014 Tigase. All rights reserved.