Class JingleSession

java.lang.Object
org.jivesoftware.smackx.jingle.JingleSession
All Implemented Interfaces:
JingleSessionHandler

public abstract class JingleSession extends Object implements JingleSessionHandler
  • Field Details

    • failedTransportMethods

      protected HashSet<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 String sid
    • contents

      protected final List<JingleContent> contents
    • queued

      protected ArrayList<Future<?>> queued
    • transportSession

      protected JingleTransportSession<?> transportSession
  • Constructor Details

    • JingleSession

      public JingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid)
    • 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

      public String getSessionId()
    • getFullJidAndSessionId

      public FullJidAndSessionId getFullJidAndSessionId()
    • getContents

      public List<JingleContent> getContents()
    • getTransportSession

      public JingleTransportSession<?> getTransportSession()
    • setTransportSession

      protected void setTransportSession(JingleTransportSession<?> transportSession)
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • handleJingleSessionRequest

      public org.jivesoftware.smack.packet.IQ handleJingleSessionRequest(Jingle jingle)
      Specified by:
      handleJingleSessionRequest in interface JingleSessionHandler
    • 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(String namespace)