Share the Reporter implementation of PresentsInvoker so that the PresentsAuthInvoker is reported too.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5637 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2009-01-19 22:50:28 +00:00
parent 46e048ab4a
commit 9cbed63ac7
3 changed files with 110 additions and 88 deletions
@@ -24,19 +24,17 @@ package com.threerings.presents.server;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.samskivert.util.Invoker;
/**
* A separate invoker thread on which we perform client authentication. This allows the normal
* server operation to proceed even in the event that our authentication services have gone down
* and attempts to authenticate cause long timeouts and blockage.
*/
@Singleton
public class PresentsAuthInvoker extends Invoker
public class PresentsAuthInvoker extends ReportingInvoker
{
@Inject public PresentsAuthInvoker (PresentsDObjectMgr omgr)
@Inject public PresentsAuthInvoker (PresentsDObjectMgr omgr, ReportManager repmgr)
{
super("presents.AuthInvoker", omgr);
super("presents.AuthInvoker", omgr, repmgr);
setDaemon(true);
}
}