public abstract class JingleSession extends Object implements JingleSessionHandler
Modifier and Type | Field and Description |
---|---|
protected List<JingleContent> |
contents |
protected HashSet<String> |
failedTransportMethods |
protected org.jxmpp.jid.FullJid |
local |
protected ArrayList<Future<?>> |
queued |
protected org.jxmpp.jid.FullJid |
remote |
protected Role |
role |
protected String |
sid |
protected JingleTransportSession<?> |
transportSession |
Constructor and Description |
---|
JingleSession(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) |
protected HashSet<String> failedTransportMethods
protected final org.jxmpp.jid.FullJid local
protected final org.jxmpp.jid.FullJid remote
protected final List<JingleContent> contents
protected JingleTransportSession<?> transportSession
public JingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid)
public JingleSession(org.jxmpp.jid.FullJid initiator, org.jxmpp.jid.FullJid responder, Role role, String sid, List<JingleContent> contents)
public org.jxmpp.jid.FullJid getInitiator()
public boolean isInitiator()
public org.jxmpp.jid.FullJid getResponder()
public boolean isResponder()
public org.jxmpp.jid.FullJid getRemote()
public org.jxmpp.jid.FullJid getLocal()
public String getSessionId()
public FullJidAndSessionId getFullJidAndSessionId()
public List<JingleContent> getContents()
public JingleTransportSession<?> getTransportSession()
protected void setTransportSession(JingleTransportSession<?> transportSession)
public IQ handleJingleSessionRequest(Jingle jingle)
handleJingleSessionRequest
in interface JingleSessionHandler
protected IQ handleSessionInitiate(Jingle sessionInitiate)
protected IQ handleSessionTerminate(Jingle sessionTerminate)
protected IQ handleSessionInfo(Jingle sessionInfo)
protected IQ handleSessionAccept(Jingle sessionAccept)
protected IQ handleContentAdd(Jingle contentAdd)
protected IQ handleContentAccept(Jingle contentAccept)
protected IQ handleContentModify(Jingle contentModify)
protected IQ handleContentReject(Jingle contentReject)
protected IQ handleContentRemove(Jingle contentRemove)
protected IQ handleDescriptionInfo(Jingle descriptionInfo)
protected IQ handleSecurityInfo(Jingle securityInfo)
protected IQ handleTransportAccept(Jingle transportAccept)
protected IQ handleTransportReplace(Jingle transportReplace)
protected IQ handleTransportReject(Jingle transportReject)
public abstract XMPPConnection getConnection()
public abstract void onTransportMethodFailed(String namespace)