Table of Contents

Interface ITcpSource

Namespace
VAST.Network
Assembly
VAST.Network.dll

Defines the interface for a TCP-based media source that receives data and disconnection notifications from a VAST.Network.TcpServer.

public interface ITcpSource

Properties

Transport

Gets or sets the network transport used by this TCP source.

INetworkTransport Transport { get; set; }

Property Value

INetworkTransport

Methods

NotifyDisconnection(object, TransportArgs)

Notifies the source that the TCP connection has been disconnected.

void NotifyDisconnection(object sender, TransportArgs e)

Parameters

sender object

The object that raised the event.

e TransportArgs

The transport event arguments containing disconnection details.

NotifyReceivedData(object, TransportArgs)

Notifies the source that new data has been received from the TCP connection.

void NotifyReceivedData(object sender, TransportArgs e)

Parameters

sender object

The object that raised the event.

e TransportArgs

The transport event arguments containing the received data.