MffiM State IMiA

AA-ffiMffi ' AIHT-fflAfADistnbuted)®®MMAI^# ' M2DAMM

Factory TaskN

fflAAMMffi - ®A^AffiAag^A(Centric)' mAtAA (Embedded)^M»*M®MA ' AASMM^ ° St ' MAM^ffitgSM^ FJfKState Machine)SA'M^ Android t^M^FJflAMA Activity

A Gamma ^"Design Patterns"-*® ' AlnT State |£AiA ' $PAH :

Context

Request() Q

state ^

State

Handle()

state->Handle()

ConcreteStateA

ConcreteStateB

Handle()

Handle()

l^ftM ' State fiÄXf^Ä'fHMM^flWSflftM^ * KS&Ä^ = -HI ' ^MW 4 «Mlft^KS ' -PM^TO" Preparing KS ' ItiA TakingOff KS ' " XX ' IA Flying KS '

Contoller O

Request() Q

state.handle()

Contoller O

Request() Q

state

-fc.

State

handle()

State_V

State_E

handle()

handle()

0 0

Post a comment