proxygen
proxygen::TransactionByteEvent Class Reference

#include <ByteEvents.h>

Inheritance diagram for proxygen::TransactionByteEvent:
proxygen::ByteEvent proxygen::AckByteEvent

Public Member Functions

 TransactionByteEvent (uint64_t byteNo, EventType eventType, HTTPTransaction *txn)
 
 ~TransactionByteEvent ()
 
HTTPTransactiongetTransaction () override
 
- Public Member Functions inherited from proxygen::ByteEvent
 ByteEvent (uint64_t byteOffset, EventType eventType)
 
virtual ~ByteEvent ()
 
virtual int64_t getLatency ()
 

Public Attributes

HTTPTransactiontxn_
 
- Public Attributes inherited from proxygen::ByteEvent
folly::IntrusiveListHook listHook
 
EventType eventType_:3
 
size_t eomTracked_:1
 
uint64_t byteOffset_:(8*sizeof(uint64_t)-4)
 

Additional Inherited Members

- Public Types inherited from proxygen::ByteEvent
enum  EventType {
  FIRST_BYTE, LAST_BYTE, PING_REPLY_SENT, FIRST_HEADER_BYTE,
  TRACKED_BYTE
}
 

Detailed Description

Definition at line 43 of file ByteEvents.h.

Constructor & Destructor Documentation

proxygen::TransactionByteEvent::TransactionByteEvent ( uint64_t  byteNo,
EventType  eventType,
HTTPTransaction txn 
)
inline

Definition at line 45 of file ByteEvents.h.

48  : ByteEvent(byteNo, eventType), txn_(txn) {
50  }
ByteEvent(uint64_t byteOffset, EventType eventType)
Definition: ByteEvents.h:29
HTTPTransaction * txn_
Definition: ByteEvents.h:60
proxygen::TransactionByteEvent::~TransactionByteEvent ( )
inline

Definition at line 52 of file ByteEvents.h.

52  {
54  }
HTTPTransaction * txn_
Definition: ByteEvents.h:60

Member Function Documentation

HTTPTransaction* proxygen::TransactionByteEvent::getTransaction ( )
inlineoverridevirtual

Reimplemented from proxygen::ByteEvent.

Definition at line 56 of file ByteEvents.h.

56  {
57  return txn_;
58  }
HTTPTransaction * txn_
Definition: ByteEvents.h:60

Member Data Documentation

HTTPTransaction* proxygen::TransactionByteEvent::txn_

Definition at line 60 of file ByteEvents.h.


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