25 template <
typename Derived,
typename ActionMoveVisitor,
typename StateMachine>
29 const typename StateMachine::StateType&
state,
31 ActionMoveVisitor& visitor,
102 const typename StateMachine::StateType&
state_;
112 boost::variant<AppWrite, EarlyAppWrite, AppClose, WriteNewSessionTicket>;
boost::variant< AppWrite, EarlyAppWrite, AppClose, WriteNewSessionTicket > PendingEvent
FizzBase(const typename StateMachine::StateType &state, folly::IOBufQueue &transportReadBuf, ActionMoveVisitor &visitor, folly::DelayedDestructionBase *owner)
void processActions(typename StateMachine::CompletedActions actions)
void moveToErrorState(const folly::AsyncSocketException &ex)
ActionMoveVisitor & visitor_
void earlyAppWrite(EarlyAppWrite appWrite)
Buf getEkm(folly::StringPiece label, const Buf &context, uint16_t length) const
folly::DelayedDestructionBase * owner_
void processPendingEvents()
bool inErrorState() const
const StateMachine::StateType & state_
std::deque< PendingEvent > pendingEvents_
Actions actions(Args &&...act)
folly::IOBufQueue & transportReadBuf_
void addProcessingActions(typename StateMachine::ProcessingActions actions)
std::unique_ptr< folly::IOBuf > Buf
bool inProcessPendingEvents_
void appWrite(AppWrite appWrite)
folly::Optional< folly::DelayedDestruction::DestructorGuard > actionGuard_
void writeNewSessionTicket(WriteNewSessionTicket writeNewSessionTicket)
bool actionProcessing() const