Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SH::PushPullSourceEndpoint Class Reference
[StreamHandlers]

#include <SHPushPullSH.h>

Inheritance diagram for SH::PushPullSourceEndpoint:

Inheritance graph
[legend]
Collaboration diagram for SH::PushPullSourceEndpoint:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PushPullSourceEndpoint (PushPullSH *mySH)
virtual ~PushPullSourceEndpoint ()
virtual SH_RC pull (DataPtr &item, SourceUnit su=UnitDefault, size_t amount=0)
PushPullSHdsh ()

Constructor & Destructor Documentation

SH::PushPullSourceEndpoint::PushPullSourceEndpoint PushPullSH mySH  ) 
 

virtual SH::PushPullSourceEndpoint::~PushPullSourceEndpoint  )  [virtual]
 


Member Function Documentation

PushPullSH* SH::PushPullSourceEndpoint::dsh  ) 
 

virtual SH_RC SH::PushPullSourceEndpoint::pull DataPtr item,
SourceUnit  su = UnitDefault,
size_t  amount = 0
[virtual]
 

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.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:36 2005 for Komssys by doxygen 1.3.8