diff options
| author | fukachan <fukachan> | 2001-01-27 04:48:50 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2001-01-27 04:48:50 +0000 |
| commit | da1c4b231b76e9b725b23b5cf4b573926970ce8b (patch) | |
| tree | 85786e4f3bb3c6fb6fac9f392442be3c62213844 /fml/libexec | |
| parent | 4127a2f7d7f8be9188fca0b9d9433b13d474d893 (diff) | |
| download | fml8-da1c4b231b76e9b725b23b5cf4b573926970ce8b.tar.gz fml8-da1c4b231b76e9b725b23b5cf4b573926970ce8b.tar.bz2 fml8-da1c4b231b76e9b725b23b5cf4b573926970ce8b.zip | |
define verify_request() methon in Process::*
move sender_credential routines to here.
Diffstat (limited to 'fml/libexec')
| -rwxr-xr-x | fml/libexec/fml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/fml/libexec/fml b/fml/libexec/fml index 0d598f41..d870c249 100755 --- a/fml/libexec/fml +++ b/fml/libexec/fml @@ -29,7 +29,7 @@ sub main::ProcessSwitch { my ($args) = @_; - # 1. create process + # Firstly, create process # $pkg is a package name, for exampl,e "FML::Process::Distribute". my $pkg = _package_we_use($args); croak("$args->{ myname } is unknown program\n") unless ($pkg); @@ -39,13 +39,16 @@ sub main::ProcessSwitch $pkg->import(); # fake to use() method. my $process = $pkg->new($args); # create a new process object - # 2. parse the incoming message (e.g. STDIN) + # e.g. parse the incoming message (e.g. STDIN) $process->prepare($args); - # 3. start main transaction + # validate the request e.g. permit post from the sender ... + $process->verify_request($args); + + # start main transaction $process->run($args); - # 4. closing the process + # closing the process $process->finish($args); } |
