Added facilities for idling out clients that have not communicated with

the server in 90 seconds. The client is set up to ping the server if it
has had nothing to say to it for other reasons in the last 60 seconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1860 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-10-29 23:51:26 +00:00
parent af5b530b4c
commit 98d19e055a
8 changed files with 122 additions and 23 deletions
@@ -1,5 +1,5 @@
//
// $Id: Client.java,v 1.32 2002/10/21 18:04:56 mdb Exp $
// $Id: Client.java,v 1.33 2002/10/29 23:51:26 mdb Exp $
package com.threerings.presents.client;
@@ -224,8 +224,9 @@ public class Client
{
InvocationService isvc = getService(sclass);
if (isvc == null) {
throw new RuntimeException(sclass.getName() + " isn't available. " +
"I can't bear to go on.");
throw new RuntimeException(
sclass.getName() + " isn't available. " +
"I can't bear to go on.");
}
return isvc;
}