Package org.jivesoftware.smackx.jingle
Class JingleSession
java.lang.Object
org.jivesoftware.smackx.jingle.JingleSession
- All Implemented Interfaces:
JingleSessionHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<JingleContent> protected final org.jxmpp.jid.FullJidprotected final org.jxmpp.jid.FullJidprotected final Roleprotected final Stringprotected JingleTransportSession<?> -
Constructor Summary
ConstructorsConstructorDescriptionJingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid) JingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid, List<JingleContent> contents) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract org.jivesoftware.smack.XMPPConnectionorg.jxmpp.jid.FullJidorg.jxmpp.jid.FullJidgetLocal()org.jxmpp.jid.FullJidorg.jxmpp.jid.FullJidprotected org.jivesoftware.smack.packet.IQhandleContentAccept(Jingle contentAccept) protected org.jivesoftware.smack.packet.IQhandleContentAdd(Jingle contentAdd) protected org.jivesoftware.smack.packet.IQhandleContentModify(Jingle contentModify) protected org.jivesoftware.smack.packet.IQhandleContentReject(Jingle contentReject) protected org.jivesoftware.smack.packet.IQhandleContentRemove(Jingle contentRemove) protected org.jivesoftware.smack.packet.IQhandleDescriptionInfo(Jingle descriptionInfo) org.jivesoftware.smack.packet.IQhandleJingleSessionRequest(Jingle jingle) protected org.jivesoftware.smack.packet.IQhandleSecurityInfo(Jingle securityInfo) protected org.jivesoftware.smack.packet.IQhandleSessionAccept(Jingle sessionAccept) protected org.jivesoftware.smack.packet.IQhandleSessionInfo(Jingle sessionInfo) protected org.jivesoftware.smack.packet.IQhandleSessionInitiate(Jingle sessionInitiate) protected org.jivesoftware.smack.packet.IQhandleSessionTerminate(Jingle sessionTerminate) protected org.jivesoftware.smack.packet.IQhandleTransportAccept(Jingle transportAccept) protected org.jivesoftware.smack.packet.IQhandleTransportReject(Jingle transportReject) protected org.jivesoftware.smack.packet.IQhandleTransportReplace(Jingle transportReplace) inthashCode()booleanbooleanabstract voidonTransportMethodFailed(String namespace) protected voidsetTransportSession(JingleTransportSession<?> transportSession)
-
Field Details
-
failedTransportMethods
-
local
protected final org.jxmpp.jid.FullJid local -
remote
protected final org.jxmpp.jid.FullJid remote -
role
-
sid
-
contents
-
queued
-
transportSession
-
-
Constructor Details
-
JingleSession
-
JingleSession
public JingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid, List<JingleContent> contents)
-
-
Method Details
-
getInitiator
public org.jxmpp.jid.FullJid getInitiator() -
isInitiator
public boolean isInitiator() -
getResponder
public org.jxmpp.jid.FullJid getResponder() -
isResponder
public boolean isResponder() -
getRemote
public org.jxmpp.jid.FullJid getRemote() -
getLocal
public org.jxmpp.jid.FullJid getLocal() -
getSessionId
-
getFullJidAndSessionId
-
getContents
-
getTransportSession
-
setTransportSession
-
hashCode
public int hashCode() -
equals
-
handleJingleSessionRequest
- Specified by:
handleJingleSessionRequestin interfaceJingleSessionHandler
-
handleSessionInitiate
-
handleSessionTerminate
-
handleSessionInfo
-
handleSessionAccept
-
handleContentAdd
-
handleContentAccept
-
handleContentModify
-
handleContentReject
-
handleContentRemove
-
handleDescriptionInfo
-
handleSecurityInfo
-
handleTransportAccept
-
handleTransportReplace
-
handleTransportReject
-
getConnection
public abstract org.jivesoftware.smack.XMPPConnection getConnection() -
onTransportMethodFailed
-