Class JingleSession

    • Field Detail

      • failedTransportMethods

        protected java.util.HashSet<java.lang.String> failedTransportMethods
      • local

        protected final org.jxmpp.jid.FullJid local
      • remote

        protected final org.jxmpp.jid.FullJid remote
      • role

        protected final Role role
      • sid

        protected final java.lang.String sid
      • contents

        protected final java.util.List<JingleContent> contents
      • queued

        protected java.util.ArrayList<java.util.concurrent.Future<?>> queued
    • Constructor Detail

      • JingleSession

        public JingleSession​(org.jxmpp.jid.FullJid initiator,
                             org.jxmpp.jid.FullJid responder,
                             Role role,
                             java.lang.String sid)
      • JingleSession

        public JingleSession​(org.jxmpp.jid.FullJid initiator,
                             org.jxmpp.jid.FullJid responder,
                             Role role,
                             java.lang.String sid,
                             java.util.List<JingleContent> contents)
    • Method Detail

      • 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

        public java.lang.String getSessionId()
      • getContents

        public java.util.List<JingleContent> getContents()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • handleSessionInitiate

        protected org.jivesoftware.smack.packet.IQ handleSessionInitiate​(Jingle sessionInitiate)
      • handleSessionTerminate

        protected org.jivesoftware.smack.packet.IQ handleSessionTerminate​(Jingle sessionTerminate)
      • handleSessionInfo

        protected org.jivesoftware.smack.packet.IQ handleSessionInfo​(Jingle sessionInfo)
      • handleSessionAccept

        protected org.jivesoftware.smack.packet.IQ handleSessionAccept​(Jingle sessionAccept)
      • handleContentAdd

        protected org.jivesoftware.smack.packet.IQ handleContentAdd​(Jingle contentAdd)
      • handleContentAccept

        protected org.jivesoftware.smack.packet.IQ handleContentAccept​(Jingle contentAccept)
      • handleContentModify

        protected org.jivesoftware.smack.packet.IQ handleContentModify​(Jingle contentModify)
      • handleContentReject

        protected org.jivesoftware.smack.packet.IQ handleContentReject​(Jingle contentReject)
      • handleContentRemove

        protected org.jivesoftware.smack.packet.IQ handleContentRemove​(Jingle contentRemove)
      • handleDescriptionInfo

        protected org.jivesoftware.smack.packet.IQ handleDescriptionInfo​(Jingle descriptionInfo)
      • handleSecurityInfo

        protected org.jivesoftware.smack.packet.IQ handleSecurityInfo​(Jingle securityInfo)
      • handleTransportAccept

        protected org.jivesoftware.smack.packet.IQ handleTransportAccept​(Jingle transportAccept)
      • handleTransportReplace

        protected org.jivesoftware.smack.packet.IQ handleTransportReplace​(Jingle transportReplace)
      • handleTransportReject

        protected org.jivesoftware.smack.packet.IQ handleTransportReject​(Jingle transportReject)
      • getConnection

        public abstract org.jivesoftware.smack.XMPPConnection getConnection()
      • onTransportMethodFailed

        public abstract void onTransportMethodFailed​(java.lang.String namespace)