#include <SHPushPullSH.h>
Inheritance diagram for SH::PushPullSourceEndpoint:
Public Member Functions | |
PushPullSourceEndpoint (PushPullSH *mySH) | |
virtual | ~PushPullSourceEndpoint () |
virtual SH_RC | pull (DataPtr &item, SourceUnit su=UnitDefault, size_t amount=0) |
PushPullSH * | dsh () |
|
|
|
|
|
|
|
Called when a downstream stream handler retrieves a data item from this endpoint's stream handler. In case of success, should return SH_OK. Returns SH_NOT_CONNECTED if the endpoint is not connected. Returns SH_NOT_STREAMING if the stream handler is not streaming. Returns SH_ACTIVE if the stream handler is neither a passive nor a through stream handler, ie. if a call to push() is not supposed to happen. In all error cases the data item is released. Reimplemented from SH::SourceEndpoint.
|