proxygen
proxygen::MockByteEventTracker Class Reference

#include <MockByteEventTracker.h>

Inheritance diagram for proxygen::MockByteEventTracker:
proxygen::ByteEventTracker

Public Member Functions

 MockByteEventTracker (Callback *callback)
 
 MOCK_METHOD3 (addPingByteEvent, void(size_t, TimePoint, uint64_t))
 
 MOCK_METHOD2 (addFirstBodyByteEvent, void(uint64_t, HTTPTransaction *))
 
 MOCK_METHOD2 (addFirstHeaderByteEvent, void(uint64_t, HTTPTransaction *))
 
 MOCK_METHOD0 (drainByteEvents, size_t())
 
 MOCK_METHOD2 (processByteEvents, bool(std::shared_ptr< ByteEventTracker >, uint64_t))
 
 GMOCK_METHOD2_ (, noexcept,, addTrackedByteEvent, void(HTTPTransaction *, uint64_t))
 
 GMOCK_METHOD2_ (, noexcept,, addLastByteEvent, void(HTTPTransaction *, uint64_t))
 
 MOCK_METHOD3 (preSend, uint64_t(bool *, bool *, uint64_t))
 
- Public Member Functions inherited from proxygen::ByteEventTracker
virtual ~ByteEventTracker ()
 
 ByteEventTracker (Callback *callback)
 
virtual void absorb (ByteEventTracker &&other)
 
void setCallback (Callback *callback)
 
virtual size_t drainByteEvents ()
 
virtual bool processByteEvents (std::shared_ptr< ByteEventTracker > self, uint64_t bytesWritten)
 
void addPingByteEvent (size_t pingSize, TimePoint timestamp, uint64_t bytesScheduled)
 
void addFirstBodyByteEvent (uint64_t offset, HTTPTransaction *txn)
 
virtual void addFirstHeaderByteEvent (uint64_t offset, HTTPTransaction *txn)
 
virtual void addLastByteEvent (HTTPTransaction *txn, uint64_t byteNo) noexcept
 
virtual void addTrackedByteEvent (HTTPTransaction *txn, uint64_t byteNo) noexcept
 
virtual void addAckByteEvent (uint64_t, HTTPTransaction *)
 
virtual uint64_t preSend (bool *, bool *, uint64_t)
 
virtual void setTTLBAStats (TTLBAStats *)
 

Additional Inherited Members

- Protected Member Functions inherited from proxygen::ByteEventTracker
virtual void eomEventProcessed ()
 
- Protected Attributes inherited from proxygen::ByteEventTracker
folly::IntrusiveList< ByteEvent,&ByteEvent::listHookbyteEvents_
 
Callbackcallback_
 

Detailed Description

Definition at line 17 of file MockByteEventTracker.h.

Constructor & Destructor Documentation

Member Function Documentation

proxygen::MockByteEventTracker::GMOCK_METHOD2_ ( noexcept  ,
addTrackedByteEvent  ,
void(HTTPTransaction *, uint64_t  
)

Referenced by MockByteEventTracker().

proxygen::MockByteEventTracker::GMOCK_METHOD2_ ( noexcept  ,
addLastByteEvent  ,
void(HTTPTransaction *, uint64_t  
)
proxygen::MockByteEventTracker::MOCK_METHOD0 ( drainByteEvents  ,
size_t()   
)

Referenced by MockByteEventTracker().

proxygen::MockByteEventTracker::MOCK_METHOD2 ( addFirstBodyByteEvent  ,
void(uint64_t, HTTPTransaction *)   
)

Referenced by MockByteEventTracker().

proxygen::MockByteEventTracker::MOCK_METHOD2 ( addFirstHeaderByteEvent  ,
void(uint64_t, HTTPTransaction *)   
)
proxygen::MockByteEventTracker::MOCK_METHOD2 ( processByteEvents  ,
bool(std::shared_ptr< ByteEventTracker >, uint64_t  
)
proxygen::MockByteEventTracker::MOCK_METHOD3 ( addPingByteEvent  ,
void(size_t, TimePoint, uint64_t  
)

Referenced by MockByteEventTracker().

proxygen::MockByteEventTracker::MOCK_METHOD3 ( preSend  ,
uint64_t(bool *, bool *, uint64_t  
)

The documentation for this class was generated from the following file: