[jingle] Mimic Manager.connection() in JingleTransportManager

Eventually JingleTransportManager should be a subclass of Manager (or
be replaced by Manager), as JingleTransportManager holds a strong
reference to the XMPPConnection. This could cause memory leaks. But
for now, we mimic the Manager API in JingleTransportManger to make a
future transition to Manager easier.
This commit is contained in:
Florian Schmaus 2021-10-19 11:31:08 +02:00
parent b243a40e26
commit a3840659aa
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ public abstract class JingleTransportManager<D extends JingleContentTransport> i
}
public XMPPConnection getConnection() {
return connection();
}
public XMPPConnection connection() {
return connection;
}