public class ColibriStreamConnector
extends org.jitsi.service.neomedia.StreamConnectorDelegate<org.jitsi.service.neomedia.StreamConnector>
Constructor and Description |
---|
ColibriStreamConnector(org.jitsi.service.neomedia.StreamConnector streamConnector)
Initializes a new ColibriStreamConnector instance which is to
share a specific StreamConnector instance among multiple
TransportManagers for the purposes of the Jitsi Videobridge.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Overrides
StreamConnectorDelegate.close() in order to prevent the
closing of the StreamConnector wrapped by this instance because
the latter is shared and it is not clear whether no
TransportManager is using it. |
protected void |
finalize()
Invokes
close() on this instance when it is clear that no
TransportManager is using it in order to release the resources
allocated by this instance throughout its life time (that need explicit
disposal). |
public ColibriStreamConnector(org.jitsi.service.neomedia.StreamConnector streamConnector)
streamConnector
- the StreamConnector instance to be shared
by the new instance among multiple TransportManagers for the
purposes of the Jitsi Videobridgepublic void close()
StreamConnectorDelegate.close()
in order to prevent the
closing of the StreamConnector wrapped by this instance because
the latter is shared and it is not clear whether no
TransportManager is using it.close
in interface org.jitsi.service.neomedia.StreamConnector
close
in class org.jitsi.service.neomedia.StreamConnectorDelegate<org.jitsi.service.neomedia.StreamConnector>
protected void finalize() throws java.lang.Throwable
close()
on this instance when it is clear that no
TransportManager is using it in order to release the resources
allocated by this instance throughout its life time (that need explicit
disposal).finalize
in class java.lang.Object
java.lang.Throwable
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.