proxygen
|
#include <ServerProtocol.h>
Public Types | |
using | StateType = State |
using | ProcessingActions = AsyncActions |
using | CompletedActions = Actions |
Public Member Functions | |
virtual | ~ServerStateMachine ()=default |
virtual AsyncActions | processAccept (const State &, folly::Executor *executor, std::shared_ptr< const FizzServerContext > context, const std::shared_ptr< ServerExtensions > &extensions) |
virtual AsyncActions | processSocketData (const State &, folly::IOBufQueue &) |
virtual AsyncActions | processWriteNewSessionTicket (const State &, WriteNewSessionTicket) |
virtual AsyncActions | processAppWrite (const State &, AppWrite) |
virtual AsyncActions | processEarlyAppWrite (const State &, EarlyAppWrite) |
virtual Actions | processAppClose (const State &) |
Definition at line 25 of file ServerProtocol.h.
Definition at line 29 of file ServerProtocol.h.
Definition at line 28 of file ServerProtocol.h.
Definition at line 27 of file ServerProtocol.h.
|
virtualdefault |
|
virtual |
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 121 of file ServerProtocol.cpp.
References folly::netops::accept(), fizz::Accept::context, fizz::Accept::executor, folly::pushmi::executor, fizz::Accept::extensions, folly::gen::move, and fizz::server::detail::processEvent().
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 174 of file ServerProtocol.cpp.
References fizz::server::detail::handleAppClose().
Referenced by fizz::server::test::TEST_F().
|
virtual |
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 162 of file ServerProtocol.cpp.
References folly::gen::move, and fizz::server::detail::processEvent().
|
virtual |
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 168 of file ServerProtocol.cpp.
References folly::gen::move, and fizz::server::detail::processEvent().
|
virtual |
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 133 of file ServerProtocol.cpp.
References fizz::server::detail::actions(), fizz::decode_error, fizz::server::detail::handleError(), folly::gen::move, folly::none, fizz::server::detail::processEvent(), fizz::ReadRecordLayer::readEvent(), and fizz::server::State::readRecordLayer().
|
virtual |
Reimplemented in fizz::server::test::MockServerStateMachine.
Definition at line 156 of file ServerProtocol.cpp.
References folly::gen::move, and fizz::server::detail::processEvent().