Interface ITcpSource
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
Methods
NotifyDisconnection(object, TransportArgs)
Notifies the source that the TCP connection has been disconnected.
void NotifyDisconnection(object sender, TransportArgs e)
Parameters
senderobjectThe object that raised the event.
eTransportArgsThe 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
senderobjectThe object that raised the event.
eTransportArgsThe transport event arguments containing the received data.