ConnectionFlowStep
ProxyToServerConnection
processCurrentStep();
initializeConnectionFlow()
connection;
connectAndWrite()
onSuccess(ConnectionFlow flow);
fail();
LittleProxy 源码分析
A5
ConnectionFlow流程详解
serverConnection;
succeed();
Queue<ConnectionFlowStep> steps;
state();
abstract Future execute();
ConnectionFlow
A3:
advance();
start();
A2: 启动
ConcurrentLinkedQueue
connectionSucceeded();
A1: 根据配置初始化 steps