forked from jocelyn/EWF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wsf_router_agent_iterator.e
67 lines (52 loc) · 1.14 KB
/
wsf_router_agent_iterator.e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
note
description: "Summary description for {WSF_ROUTER_AGENT_ITERATOR}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
WSF_ROUTER_AGENT_ITERATOR
inherit
WSF_ROUTER_ITERATOR
redefine
default_create,
process_router,
process_item,
process_mapping,
process_handler
end
feature {NONE} -- Initialization
default_create
do
Precursor
create on_router_actions
create on_item_actions
create on_mapping_actions
create on_handler_actions
end
feature -- Actions
on_router_actions: ACTION_SEQUENCE [TUPLE [WSF_ROUTER]]
on_item_actions: ACTION_SEQUENCE [TUPLE [WSF_ROUTER_ITEM]]
on_mapping_actions: ACTION_SEQUENCE [TUPLE [WSF_ROUTER_MAPPING]]
on_handler_actions: ACTION_SEQUENCE [TUPLE [WSF_HANDLER]]
feature -- Visitor
process_router (r: WSF_ROUTER)
do
on_router_actions.call ([r])
Precursor (r)
end
process_item (i: WSF_ROUTER_ITEM)
do
on_item_actions.call ([i])
Precursor (i)
end
process_mapping (m: WSF_ROUTER_MAPPING)
do
on_mapping_actions.call ([m])
Precursor (m)
end
process_handler (h: WSF_HANDLER)
do
on_handler_actions.call ([h])
Precursor (h)
end
end