The great invocation services rethink of 2002! Rearchitected the remote

method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-08-14 19:08:01 +00:00
parent 4481c5f835
commit e54a4d41f4
161 changed files with 6083 additions and 2805 deletions
@@ -0,0 +1,30 @@
//
// $Id: TestSender.java,v 1.1 2002/08/14 19:08:01 mdb Exp $
package com.threerings.presents.server;
import com.threerings.presents.client.TestDecoder;
import com.threerings.presents.client.TestReceiver;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationSender;
/**
* Used to issue notifications to a {@link TestReceiver} instance on a
* client.
*/
public class TestSender extends InvocationSender
{
/**
* Issues a notification that will result in a call to {@link
* TestReceiver#receivedTest} on a client.
*/
public static void sendTest (
ClientObject target, int arg1, String arg2)
{
sendNotification(
target, TestDecoder.RECEIVER_CODE, TestDecoder.RECEIVED_TEST,
new Object[] { new Integer(arg1), arg2 });
}
// Generated on 12:14:10 08/12/02.
}