用編程敘述我的理解。
strut people{
????identity,
????.………………
}people_info
Int main(){
????Request_something(strut people_info){
????????????Switch(people_info.identity){
????????????????????Case ? normal:
????????????????????????????Sleep(7days);
????????????????????????????response(“404”);break;
????????????????????Case ?party_member:
????????????????????????????Sleep(7days);
????????????????????????????response(“403”);break;
????????????????????Case ?Civil_servants:
????????????????????????????response(“building request_info,7 days after will execute.....”);
????????????????????????????Sleep(7days);
????????????????????????????execute();break;
????????????????????Case ?official:
????????????????????????????execute();break;
????????????????????????}
????????????}
}
標簽: