Package org.jivesoftware.smackx.jingle
Class JingleSession
java.lang.Object
org.jivesoftware.smackx.jingle.JingleSession
- All Implemented Interfaces:
JingleSessionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<JingleContent>
protected final FullJid
protected final FullJid
protected final Role
protected final String
protected JingleTransportSession<?>
-
Constructor Summary
ConstructorDescriptionJingleSession
(FullJid initiator, FullJid responder, Role role, String sid) JingleSession
(FullJid initiator, FullJid responder, Role role, String sid, List<JingleContent> contents) -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract XMPPConnection
getLocal()
protected IQ
handleContentAccept
(Jingle contentAccept) protected IQ
handleContentAdd
(Jingle contentAdd) protected IQ
handleContentModify
(Jingle contentModify) protected IQ
handleContentReject
(Jingle contentReject) protected IQ
handleContentRemove
(Jingle contentRemove) protected IQ
handleDescriptionInfo
(Jingle descriptionInfo) handleJingleSessionRequest
(Jingle jingle) protected IQ
handleSecurityInfo
(Jingle securityInfo) protected IQ
handleSessionAccept
(Jingle sessionAccept) protected IQ
handleSessionInfo
(Jingle sessionInfo) protected IQ
handleSessionInitiate
(Jingle sessionInitiate) protected IQ
handleSessionTerminate
(Jingle sessionTerminate) protected IQ
handleTransportAccept
(Jingle transportAccept) protected IQ
handleTransportReject
(Jingle transportReject) protected IQ
handleTransportReplace
(Jingle transportReplace) int
hashCode()
boolean
boolean
abstract void
onTransportMethodFailed
(String namespace) protected void
setTransportSession
(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:
handleJingleSessionRequest
in interfaceJingleSessionHandler
-
handleSessionInitiate
-
handleSessionTerminate
-
handleSessionInfo
-
handleSessionAccept
-
handleContentAdd
-
handleContentAccept
-
handleContentModify
-
handleContentReject
-
handleContentRemove
-
handleDescriptionInfo
-
handleSecurityInfo
-
handleTransportAccept
-
handleTransportReplace
-
handleTransportReject
-
getConnection
-
onTransportMethodFailed
-