summaryrefslogtreecommitdiff
path: root/lib/queuemanager.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-04 00:31:28 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-04 00:31:28 -0400
commit49c5c6f92bc1d06e6464eade81eead891d86f10d (patch)
treefb59040b322ff3170f392f9f65429c068ab5b5a6 /lib/queuemanager.php
parent741eb1a28bbe505364baa440539bbc5ed6fbe5e0 (diff)
move handling code into queuemanager
Diffstat (limited to 'lib/queuemanager.php')
-rw-r--r--lib/queuemanager.php19
1 files changed, 2 insertions, 17 deletions
diff --git a/lib/queuemanager.php b/lib/queuemanager.php
index 1bf4d4dec..f36e99d16 100644
--- a/lib/queuemanager.php
+++ b/lib/queuemanager.php
@@ -67,23 +67,8 @@ class QueueManager
throw ServerException("Unimplemented function 'enqueue' called");
}
- function peek($queue)
+ function service($queue, $handler)
{
- throw ServerException("Unimplemented function 'peek' called");
- }
-
- function nextItem($queue, $timeout=null)
- {
- throw ServerException("Unimplemented function 'nextItem' called");
- }
-
- function done($object, $queue)
- {
- throw ServerException("Unimplemented function 'done' called");
- }
-
- function fail($object, $queue)
- {
- throw ServerException("Unimplemented function 'fail' called");
+ throw ServerException("Unimplemented function 'service' called");
}
}