EdgeVisDecoderSDK::IStreamListener Class Referenceabstract
Detailed Description
Defines an interface for a class that listens for incoming data from a Stream.
Threads
Care should be taken with threading within the EdgeVis SDK.
- Callbacks from the SDK must not be blocked. Any processing resulting in a callback must be passed to a separate thread in your application and the callback complete as soon as possible
- Callbacks from the SDK must not call back into the SDK on the same thread. Call back into the SDK on a separate thread.
Availability
Available in version 6.0 of Decoder SDK. Requires a server version greater than 6.0
#include <IStreamListener.h>
Public Member Functions | |
| virtual void | DataReceived (StreamData data)=0 |
| Called when data is received from a stream. More... | |
| virtual void | StreamStatusChanged (StreamStatus status, std::wstring user)=0 |
| Called on a status message from the stream. More... | |
Member Function Documentation
|
pure virtual |
Called when data is received from a stream.
- Parameters
-
data The received data.
|
pure virtual |
Called on a status message from the stream.
Sends the status message on to attached clients.
- Parameters
-
status The status message sent from the stream. user The user who currently has ownership of the stream for the case when a data stream is in use by another user.
The documentation for this class was generated from the following file:
- SDKs/EdgeVisDecoderSDK/IStreamListener.h
