summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Command/User
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-03-18 10:42:40 +0000
committerfukachan <fukachan>2003-03-18 10:42:40 +0000
commit3be0d18d4f3196fad45761c405bbfc2a3b71a82e (patch)
tree659aad4273b9d4d502c4667c6a55d487867139f2 /fml/lib/FML/Command/User
parentd381df5a5824e204f61d7279ee6b798aec81c200 (diff)
downloadfml8-3be0d18d4f3196fad45761c405bbfc2a3b71a82e.tar.gz
fml8-3be0d18d4f3196fad45761c405bbfc2a3b71a82e.tar.bz2
fml8-3be0d18d4f3196fad45761c405bbfc2a3b71a82e.zip
remove giant lock and use fine granuality locks now.
Diffstat (limited to 'fml/lib/FML/Command/User')
-rw-r--r--fml/lib/FML/Command/User/chaddr.pm9
-rw-r--r--fml/lib/FML/Command/User/confirm.pm9
-rw-r--r--fml/lib/FML/Command/User/digest.pm9
-rw-r--r--fml/lib/FML/Command/User/get.pm9
-rw-r--r--fml/lib/FML/Command/User/off.pm9
-rw-r--r--fml/lib/FML/Command/User/on.pm9
-rw-r--r--fml/lib/FML/Command/User/subscribe.pm9
-rw-r--r--fml/lib/FML/Command/User/summary.pm9
-rw-r--r--fml/lib/FML/Command/User/unsubscribe.pm9
9 files changed, 72 insertions, 9 deletions
diff --git a/fml/lib/FML/Command/User/chaddr.pm b/fml/lib/FML/Command/User/chaddr.pm
index 7d7a532b..23c6d386 100644
--- a/fml/lib/FML/Command/User/chaddr.pm
+++ b/fml/lib/FML/Command/User/chaddr.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: chaddr.pm,v 1.17 2003/02/01 05:27:52 fukachan Exp $
+# $FML: chaddr.pm,v 1.18 2003/02/01 06:08:38 fukachan Exp $
#
package FML::Command::User::chaddr;
@@ -58,6 +58,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: chaddr adapter: confirm before chaddr operation
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: update database for confirmation.
diff --git a/fml/lib/FML/Command/User/confirm.pm b/fml/lib/FML/Command/User/confirm.pm
index 9d3c5c92..44d5ed66 100644
--- a/fml/lib/FML/Command/User/confirm.pm
+++ b/fml/lib/FML/Command/User/confirm.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: confirm.pm,v 1.19 2002/12/24 10:19:45 fukachan Exp $
+# $FML: confirm.pm,v 1.20 2003/01/25 12:48:40 fukachan Exp $
#
package FML::Command::User::confirm;
@@ -52,6 +52,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: addresses to inform a message copy to
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: none
diff --git a/fml/lib/FML/Command/User/digest.pm b/fml/lib/FML/Command/User/digest.pm
index 344e641e..3d68888c 100644
--- a/fml/lib/FML/Command/User/digest.pm
+++ b/fml/lib/FML/Command/User/digest.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: digest.pm,v 1.2 2002/12/23 14:45:01 fukachan Exp $
+# $FML: digest.pm,v 1.3 2002/12/24 10:19:45 fukachan Exp $
#
package FML::Command::User::digest;
@@ -53,6 +53,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: digest off/on adapter.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: update database for confirmation.
diff --git a/fml/lib/FML/Command/User/get.pm b/fml/lib/FML/Command/User/get.pm
index ee68356c..17b5021b 100644
--- a/fml/lib/FML/Command/User/get.pm
+++ b/fml/lib/FML/Command/User/get.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: get.pm,v 1.14 2002/12/18 04:22:37 fukachan Exp $
+# $FML: get.pm,v 1.15 2003/02/16 08:49:12 fukachan Exp $
#
package FML::Command::User::get;
@@ -55,6 +55,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'article_spool_modify';}
+
+
# Descriptions: send articles (filename =~ /^\d+/$) by FML::Command::SendFile.
# This module is called after
# FML::Process::Command::_can_accpet_command() already checks the
diff --git a/fml/lib/FML/Command/User/off.pm b/fml/lib/FML/Command/User/off.pm
index 969a3ae2..672890ad 100644
--- a/fml/lib/FML/Command/User/off.pm
+++ b/fml/lib/FML/Command/User/off.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: off.pm,v 1.5 2002/12/18 04:22:37 fukachan Exp $
+# $FML: off.pm,v 1.6 2002/12/24 10:19:45 fukachan Exp $
#
package FML::Command::User::off;
@@ -54,6 +54,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: change delivery mode from real time to digest
# after confirmation succeeds.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
diff --git a/fml/lib/FML/Command/User/on.pm b/fml/lib/FML/Command/User/on.pm
index 53723c1a..bfd7a3ff 100644
--- a/fml/lib/FML/Command/User/on.pm
+++ b/fml/lib/FML/Command/User/on.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: on.pm,v 1.5 2002/12/18 04:22:37 fukachan Exp $
+# $FML: on.pm,v 1.6 2002/12/24 10:19:45 fukachan Exp $
#
package FML::Command::User::on;
@@ -54,6 +54,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: change delivery mode from digest to real time
# after confirmation.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
diff --git a/fml/lib/FML/Command/User/subscribe.pm b/fml/lib/FML/Command/User/subscribe.pm
index c4ca0d54..03118d5d 100644
--- a/fml/lib/FML/Command/User/subscribe.pm
+++ b/fml/lib/FML/Command/User/subscribe.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: subscribe.pm,v 1.17 2003/02/01 05:27:52 fukachan Exp $
+# $FML: subscribe.pm,v 1.18 2003/02/01 06:08:38 fukachan Exp $
#
package FML::Command::User::subscribe;
@@ -54,6 +54,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: subscribe adapter.
# we confirm it before real subscribe process.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
diff --git a/fml/lib/FML/Command/User/summary.pm b/fml/lib/FML/Command/User/summary.pm
index 6313e8d7..c7e0beb8 100644
--- a/fml/lib/FML/Command/User/summary.pm
+++ b/fml/lib/FML/Command/User/summary.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: summary.pm,v 1.11 2002/09/22 14:56:48 fukachan Exp $
+# $FML: summary.pm,v 1.12 2002/12/15 13:46:31 fukachan Exp $
#
package FML::Command::User::summary;
@@ -56,6 +56,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'article_spool_modify';}
+
+
# Descriptions: send summary file by FML::Command::SendFile.
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: none
diff --git a/fml/lib/FML/Command/User/unsubscribe.pm b/fml/lib/FML/Command/User/unsubscribe.pm
index f56ce06a..fa3095bc 100644
--- a/fml/lib/FML/Command/User/unsubscribe.pm
+++ b/fml/lib/FML/Command/User/unsubscribe.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: unsubscribe.pm,v 1.17 2003/02/01 05:27:52 fukachan Exp $
+# $FML: unsubscribe.pm,v 1.18 2003/02/01 06:08:38 fukachan Exp $
#
package FML::Command::User::unsubscribe;
@@ -54,6 +54,13 @@ sub new
sub need_lock { 1;}
+# Descriptions: lock channel
+# Arguments: none
+# Side Effects: none
+# Return Value: STR
+sub lock_channel { return 'command_serialize';}
+
+
# Descriptions: unsubscribe adapter: confirm before unsubscribe
# Arguments: OBJ($self) OBJ($curproc) HASH_REF($command_args)
# Side Effects: update database for confirmation.