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