BodyPipe.h
Go to the documentation of this file.
121 bool stillProducing(const Producer::Pointer &producer) const { return theProducer == producer; }
132 bool stillConsuming(const Consumer::Pointer &consumer) const { return theConsumer == consumer; }
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
Definition: AsyncJob.h:32
Definition: BodyPipe.h:43
virtual void noteBodyProductionEnded(RefCount< BodyPipe > bp)=0
void stopConsumingFrom(RefCount< BodyPipe > &)
Definition: BodyPipe.cc:118
virtual void noteMoreBodyDataAvailable(RefCount< BodyPipe > bp)=0
virtual void noteBodyProducerAborted(RefCount< BodyPipe > bp)=0
Definition: BodyPipe.h:62
BodyPipeCheckout & operator=(const BodyPipeCheckout &)
Definition: BodyPipe.cc:516
Definition: BodyPipe.h:91
bool stillConsuming(const Consumer::Pointer &consumer) const
Definition: BodyPipe.h:132
void scheduleBodyDataNotification()
Definition: BodyPipe.cc:414
MEMPROXY_CLASS(BodyPipe)
bool setConsumerIfNotLate(const Consumer::Pointer &aConsumer)
Definition: BodyPipe.cc:228
void expectProductionEndAfter(uint64_t extraSize)
sets or checks body size
Definition: BodyPipe.cc:184
bool stillProducing(const Producer::Pointer &producer) const
Definition: BodyPipe.h:121
void startAutoConsumptionIfNeeded()
Definition: BodyPipe.cc:327
void enableAutoConsumption()
start or continue consuming when producing without consumer
Definition: BodyPipe.cc:316
Definition: BodyPipe.h:23
virtual void noteMoreBodySpaceAvailable(RefCount< BodyPipe > bp)=0
virtual void noteBodyConsumerAborted(RefCount< BodyPipe > bp)=0
void stopProducingFor(RefCount< BodyPipe > &, bool atEof)
Definition: BodyPipe.cc:107
Definition: MemBuf.h:24