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 FullJidprotected final FullJidprotected final Roleprotected final Stringprotected JingleTransportSession<?> -
Constructor Summary
ConstructorsConstructorDescriptionJingleSession(FullJid initiator, FullJid responder, Role role, String sid) JingleSession(FullJid initiator, FullJid responder, Role role, String sid, List<JingleContent> contents) -
Method Summary
Modifier and TypeMethodDescriptionbooleanabstract XMPPConnectiongetLocal()protected IQhandleContentAccept(Jingle contentAccept) protected IQhandleContentAdd(Jingle contentAdd) protected IQhandleContentModify(Jingle contentModify) protected IQhandleContentReject(Jingle contentReject) protected IQhandleContentRemove(Jingle contentRemove) protected IQhandleDescriptionInfo(Jingle descriptionInfo) handleJingleSessionRequest(Jingle jingle) protected IQhandleSecurityInfo(Jingle securityInfo) protected IQhandleSessionAccept(Jingle sessionAccept) protected IQhandleSessionInfo(Jingle sessionInfo) protected IQhandleSessionInitiate(Jingle sessionInitiate) protected IQhandleSessionTerminate(Jingle sessionTerminate) protected IQhandleTransportAccept(Jingle transportAccept) protected IQhandleTransportReject(Jingle transportReject) protected IQhandleTransportReplace(Jingle transportReplace) inthashCode()booleanbooleanabstract voidonTransportMethodFailed(String namespace) protected voidsetTransportSession(JingleTransportSession<?> transportSession)
-
Field Details
-
failedTransportMethods
-
local
-
remote
-
role
-
sid
-
contents
-
queued
-
transportSession
-
-
Constructor Details
-
JingleSession
-
JingleSession
public JingleSession(FullJid initiator, FullJid responder, Role role, String sid, List<JingleContent> contents)
-
-
Method Details
-
getInitiator
-
isInitiator
-
getResponder
-
isResponder
-
getRemote
-
getLocal
-
getSessionId
-
getFullJidAndSessionId
-
getContents
-
getTransportSession
-
setTransportSession
-
hashCode
-
equals
-
handleJingleSessionRequest
- Specified by:
handleJingleSessionRequestin interfaceJingleSessionHandler
-
handleSessionInitiate
-
handleSessionTerminate
-
handleSessionInfo
-
handleSessionAccept
-
handleContentAdd
-
handleContentAccept
-
handleContentModify
-
handleContentReject
-
handleContentRemove
-
handleDescriptionInfo
-
handleSecurityInfo
-
handleTransportAccept
-
handleTransportReplace
-
handleTransportReject
-
getConnection
-
onTransportMethodFailed
-