proxygen
fizz::test::TestFizzBase Class Reference
Inheritance diagram for fizz::test::TestFizzBase:
fizz::FizzBase< TestFizzBase, ActionMoveVisitor, TestStateMachine > folly::DelayedDestruction folly::DelayedDestructionBase

Public Member Functions

 TestFizzBase ()
 
void startActions (Future< Actions > actions)
 
- Public Member Functions inherited from fizz::FizzBase< TestFizzBase, ActionMoveVisitor, TestStateMachine >
 FizzBase (const typename TestStateMachine::StateType &state, folly::IOBufQueue &transportReadBuf, ActionMoveVisitor &visitor, folly::DelayedDestructionBase *owner)
 
void writeNewSessionTicket (WriteNewSessionTicket writeNewSessionTicket)
 
void appWrite (AppWrite appWrite)
 
void earlyAppWrite (EarlyAppWrite appWrite)
 
void appClose ()
 
void waitForData ()
 
void newTransportData ()
 
void moveToErrorState (const folly::AsyncSocketException &ex)
 
bool inErrorState () const
 
bool actionProcessing () const
 
Buf getEkm (folly::StringPiece label, const Buf &context, uint16_t length) const
 
- Public Member Functions inherited from folly::DelayedDestruction
virtual void destroy ()
 
bool getDestroyPending () const
 
- Public Member Functions inherited from folly::DelayedDestructionBase
virtual ~DelayedDestructionBase ()=default
 

Public Attributes

State state_
 
IOBufQueue queue_
 
ActionMoveVisitor visitor_
 

Additional Inherited Members

- Protected Member Functions inherited from fizz::FizzBase< TestFizzBase, ActionMoveVisitor, TestStateMachine >
void processActions (typename TestStateMachine::CompletedActions actions)
 
void addProcessingActions (typename TestStateMachine::ProcessingActions actions)
 
- Protected Member Functions inherited from folly::DelayedDestruction
 ~DelayedDestruction () override=default
 
 DelayedDestruction ()
 
- Protected Member Functions inherited from folly::DelayedDestructionBase
 DelayedDestructionBase ()
 
uint32_t getDestructorGuardCount () const
 
- Protected Attributes inherited from fizz::FizzBase< TestFizzBase, ActionMoveVisitor, TestStateMachine >
TestStateMachine machine_
 
const TestStateMachine::StateType & state_
 
folly::IOBufQueuetransportReadBuf_
 

Detailed Description

Definition at line 112 of file FizzBaseTest.cpp.

Constructor & Destructor Documentation

fizz::test::TestFizzBase::TestFizzBase ( )
inline

Definition at line 116 of file FizzBaseTest.cpp.

117  : FizzBase<TestFizzBase, ActionMoveVisitor, TestStateMachine>(
118  state_,
119  queue_,
120  visitor_,
121  this) {}
ActionMoveVisitor visitor_

Member Function Documentation

void fizz::test::TestFizzBase::startActions ( Future< Actions actions)
inline

Definition at line 127 of file FizzBaseTest.cpp.

References folly::gen::move, and fizz::FizzBase< TestFizzBase, ActionMoveVisitor, TestStateMachine >::processActions().

127  {
128  std::move(actions).then(
130  static_cast<
131  FizzBase<TestFizzBase, ActionMoveVisitor, TestStateMachine>*>(
132  this));
133  }
void processActions(typename TestStateMachine::CompletedActions actions)
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

IOBufQueue fizz::test::TestFizzBase::queue_

Definition at line 124 of file FizzBaseTest.cpp.

State fizz::test::TestFizzBase::state_

Definition at line 123 of file FizzBaseTest.cpp.

ActionMoveVisitor fizz::test::TestFizzBase::visitor_

Definition at line 125 of file FizzBaseTest.cpp.


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