More progress on the invocation services.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@74 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-07-19 18:08:20 +00:00
parent 406d181d1a
commit f8ccff8f23
8 changed files with 157 additions and 20 deletions
@@ -1,18 +1,19 @@
//
// $Id: TestProvider.java,v 1.2 2001/07/19 07:48:58 mdb Exp $
// $Id: TestProvider.java,v 1.3 2001/07/19 18:08:20 mdb Exp $
package com.threerings.cocktail.cher.server.test;
import com.threerings.cocktail.cher.Log;
import com.threerings.cocktail.cher.server.InvocationProvider;
/**
* A test of the invocation services.
*/
public class TestProvider
public class TestProvider extends InvocationProvider
{
public Object[] handleTestRequest (String one, int two)
{
Log.info("Test request [one=" + one + ", two=" + two + "].");
return null;
return createResponse("TestSucceeded", one, new Integer(two));
}
}