namespace Inspectron.HawkEye.RTSP
{
///
/// Interface for Transport of Rtsp (TCP, TCP+SSL,..)
///
public interface IRtspTransport
{
///
/// Gets the stream of the transport.
///
/// A stream
System.IO.Stream GetStream();
///
/// Gets the remote address.
///
/// The remote address.
string RemoteAddress
{
get;
}
///
/// Closes this instance.
///
void Close();
///
/// Gets a value indicating whether this is connected.
///
/// true if connected; otherwise, false.
bool Connected { get; }
///
/// Reconnect this instance.
/// Must do nothing if already connected.
///
/// Error during socket
void Reconnect();
}
}