Move hello_routed_world under tests/dev since it was not really an example, but more a dev workspace/test
45 lines
876 B
Plaintext
45 lines
876 B
Plaintext
note
|
|
description: "Summary description for REQUEST_AGENT_HANDLER."
|
|
author: ""
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
|
|
class
|
|
REQUEST_AGENT_HANDLER [C -> REQUEST_HANDLER_CONTEXT]
|
|
|
|
inherit
|
|
REQUEST_HANDLER [C]
|
|
|
|
create
|
|
make
|
|
|
|
feature -- Initialization
|
|
|
|
make (act: like action)
|
|
do
|
|
action := act
|
|
end
|
|
|
|
feature -- Access
|
|
|
|
action: PROCEDURE [ANY, TUPLE [ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE]]
|
|
|
|
feature -- Execution
|
|
|
|
execute (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
|
|
do
|
|
action.call ([ctx, req, res])
|
|
end
|
|
|
|
note
|
|
copyright: "2011-2011, Eiffel Software and others"
|
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
|
source: "[
|
|
Eiffel Software
|
|
5949 Hollister Ave., Goleta, CA 93117 USA
|
|
Telephone 805-685-1006, Fax 805-685-6869
|
|
Website http://www.eiffel.com
|
|
Customer support http://support.eiffel.com
|
|
]"
|
|
end
|