32#include "EdgeVisSDK.h"
50 class Stream :
public EdgeVisSDKPimpl<StreamImpl>
58 EdgeVisSDKPimplWeakConstructor(Stream);
59 DB_EDGEVIS_SDK
virtual ~Stream() {}
73 DB_EDGEVIS_SDK std::wstring
Name()
const;
OpResult
Result of an operation.
Definition OpResult.h:26
An Encoder interface represents an Encoder that is managed by the server.
Definition Encoder.h:59
Defines an interface for a class that listens for incoming data from a Stream.
Definition IStreamListener.h:36
DB_EDGEVIS_SDK int64_t GetTotalBytesSent()
Returns the current total number of bytes sent on this stream.
DB_EDGEVIS_SDK void Close()
Closes this stream.
DB_EDGEVIS_SDK void ResetDataUsageStats()
Resets the count of the total number of bytes sent and received for this stream.
DB_EDGEVIS_SDK OpResult Open()
Opens the stream.
DB_EDGEVIS_SDK std::wstring Name() const
Gets the stream's name.
DB_EDGEVIS_SDK StreamType Type() const
Gets the stream type.
DB_EDGEVIS_SDK void RegisterListener(IStreamListener *listener)
Registers the specified listener to be notified when stream data is received.
DB_EDGEVIS_SDK int64_t GetTotalBytesReceived()
Returns the current total number of bytes received on this stream.
DB_EDGEVIS_SDK Encoder GetEncoder() const
Gets the Encoder object that the Stream is on.
virtual DB_EDGEVIS_SDK OpResult SetTransport(TransportType trans)
This is underlying transport type.
DB_EDGEVIS_SDK void UnregisterListener(IStreamListener *listener)
Removes the specified listener from the set of listeners to be notified about incoming stream data.
DB_EDGEVIS_SDK int64_t GetLastStreamUseDuration() const
Get the duration in milliseconds that the stream was open on last use.
virtual DB_EDGEVIS_SDK TransportType GetTransport()
Gets the stream's transport.
DB_EDGEVIS_SDK int64_t GetStreamUseDuration() const
Get the duration in milliseconds that the stream has been open.
virtual DB_EDGEVIS_SDK bool IsConnected() const
Determines if the stream is currently connected (in use).
The EdgeVis Decoder SDK namespace.
TransportType
Definition TransportTypes.h:24