Interface IBridgeSink
- Namespace
- VisioForge.Core.MediaBlocks.Bridge
- Assembly
- VisioForge.Core.dll
Interface for bridge sink implementations that send data to a bridge connection.
public interface IBridgeSink : IBridge, IDisposableImplements
Properties
ConnectedSourceCount
Gets the number of connected source blocks listening to this sink.
int ConnectedSourceCount { get; }Property Value
HasConnectedSources
Gets a value indicating whether the sink is currently connected to any sources.
bool HasConnectedSources { get; }Property Value
Methods
Register()
Registers this sink in the global bridge cache if supported by the bridge type.
bool Register()Returns
- bool
-
True if registration was successful, false otherwise.
Unregister()
Unregisters this sink from the global bridge cache if previously registered.
bool Unregister()Returns
- bool
-
True if unregistration was successful, false otherwise.