Class JingleTransportSession<T extends JingleContentTransport>
- java.lang.Object
-
- org.jivesoftware.smackx.jingle.transports.JingleTransportSession<T>
-
- Direct Known Subclasses:
JingleIBBTransportSession
,JingleS5BTransportSession
public abstract class JingleTransportSession<T extends JingleContentTransport> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected JingleSession
jingleSession
protected T
ourProposal
protected T
theirProposal
-
Constructor Summary
Constructors Constructor Description JingleTransportSession(JingleSession session)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract T
createTransport()
abstract String
getNamespace()
abstract IQ
handleTransportInfo(Jingle transportInfo)
abstract void
initiateIncomingSession(JingleTransportInitiationCallback callback)
abstract void
initiateOutgoingSession(JingleTransportInitiationCallback callback)
void
processJingle(Jingle jingle)
abstract void
setTheirProposal(JingleContentTransport transport)
abstract JingleTransportManager<T>
transportManager()
-
-
-
Field Detail
-
jingleSession
protected final JingleSession jingleSession
-
ourProposal
protected T extends JingleContentTransport ourProposal
-
theirProposal
protected T extends JingleContentTransport theirProposal
-
-
Constructor Detail
-
JingleTransportSession
public JingleTransportSession(JingleSession session)
-
-
Method Detail
-
createTransport
public abstract T createTransport()
-
processJingle
public void processJingle(Jingle jingle)
-
setTheirProposal
public abstract void setTheirProposal(JingleContentTransport transport)
-
initiateOutgoingSession
public abstract void initiateOutgoingSession(JingleTransportInitiationCallback callback)
-
initiateIncomingSession
public abstract void initiateIncomingSession(JingleTransportInitiationCallback callback)
-
getNamespace
public abstract String getNamespace()
-
handleTransportInfo
public abstract IQ handleTransportInfo(Jingle transportInfo)
-
transportManager
public abstract JingleTransportManager<T> transportManager()
-
-