|
Functions |
| | ROW (PUSH_CLIENT_NULL_STATE, TR_Invoke_Ind, e->u.TR_Invoke_Ind.tcl==1 &&pdu->type==ConfirmedPush,{Octstr *push_body;List *push_headers;if(pdu->u.ConfirmedPush.headers_len > 0) push_headers=wsp_headers_unpack(pdu->u.ConfirmedPush.headers, 0);else push_headers=NULL;http_remove_hop_headers(push_headers);http_header_pack(push_headers);gw_assert(push_headers);cpm->push_headers=http_header_duplicate(push_headers);push_body=octstr_duplicate(pdu->u.ConfirmedPush.data);http_destroy_headers(push_headers);indicate_confirmedpush(cpm, push_body);octstr_destroy(push_body);response_confirmedpush(cpm);}, PUSH_CLIENT_RECEIVING) ROW(PUSH_CLIENT_RECEIVING |
| PUSH_CLIENT_NULL_STATE | ROW (PUSH_CLIENT_RECEIVING, S_PushAbort_Req, 1,{send_abort_to_responder(cpm, e->u.S_PushAbort_Req.reason);indicate_pushabort(cpm, e->u.S_PushAbort_Req.reason);}, PUSH_CLIENT_NULL_STATE) ROW(PUSH_CLIENT_RECEIVING |
| PUSH_CLIENT_NULL_STATE | ROW (PUSH_CLIENT_RECEIVING, TR_Abort_Ind, e->u.TR_Abort_Ind.abort_code==WSP_ABORT_DISCONNECT,{WAPEvent *wsp_event;wsp_event=wap_event_create(Disconnect_Event);wsp_event->u.Disconnect_Event.session_handle=cpm->client_push_id;gwlist_append(push_client_queue, wsp_event);}, PUSH_CLIENT_NULL_STATE) ROW(PUSH_CLIENT_RECEIVING |
Variables |
| | S_ConfirmedPush_Res |
| PUSH_CLIENT_NULL_STATE | Abort_Event |
| PUSH_CLIENT_NULL_STATE | TR_Abort_Ind |