public abstract class JingleTransportSession<T extends JingleContentTransport> extends Object
Modifier and Type | Field and Description |
---|---|
protected JingleSession |
jingleSession |
protected T |
ourProposal |
protected T |
theirProposal |
Constructor and Description |
---|
JingleTransportSession(JingleSession session) |
Modifier and Type | Method and 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() |
protected final JingleSession jingleSession
protected T extends JingleContentTransport ourProposal
protected T extends JingleContentTransport theirProposal
public JingleTransportSession(JingleSession session)
public abstract T createTransport()
public void processJingle(Jingle jingle)
public abstract void setTheirProposal(JingleContentTransport transport)
public abstract void initiateOutgoingSession(JingleTransportInitiationCallback callback)
public abstract void initiateIncomingSession(JingleTransportInitiationCallback callback)
public abstract String getNamespace()
public abstract IQ handleTransportInfo(Jingle transportInfo)
public abstract JingleTransportManager<T> transportManager()