From 807111d985db5cc18f71b4c3704a15ed057508b8 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Thu, 7 Apr 2011 00:49:13 +0000 Subject: [PATCH] InvocationResponseEvent is no longer used for listeners git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6615 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../java/com/threerings/admin/data/AdminMarshaller.java | 1 - .../java/com/threerings/crowd/chat/data/ChatMarshaller.java | 1 - .../java/com/threerings/crowd/data/LocationMarshaller.java | 1 - .../com/threerings/presents/data/TimeBaseMarshaller.java | 1 - .../threerings/presents/dobj/InvocationResponseEvent.java | 1 - .../java/com/threerings/presents/tools/GenServiceTask.java | 6 ------ .../java/com/threerings/presents/data/TestMarshaller.java | 1 - 7 files changed, 12 deletions(-) diff --git a/src/main/java/com/threerings/admin/data/AdminMarshaller.java b/src/main/java/com/threerings/admin/data/AdminMarshaller.java index 854125093..586e61f3a 100644 --- a/src/main/java/com/threerings/admin/data/AdminMarshaller.java +++ b/src/main/java/com/threerings/admin/data/AdminMarshaller.java @@ -25,7 +25,6 @@ import javax.annotation.Generated; import com.threerings.admin.client.AdminService; import com.threerings.presents.data.InvocationMarshaller; -import com.threerings.presents.dobj.InvocationResponseEvent; /** * Provides the implementation of the {@link AdminService} interface diff --git a/src/main/java/com/threerings/crowd/chat/data/ChatMarshaller.java b/src/main/java/com/threerings/crowd/chat/data/ChatMarshaller.java index 28cee7ed4..d844554ef 100644 --- a/src/main/java/com/threerings/crowd/chat/data/ChatMarshaller.java +++ b/src/main/java/com/threerings/crowd/chat/data/ChatMarshaller.java @@ -26,7 +26,6 @@ import javax.annotation.Generated; import com.threerings.crowd.chat.client.ChatService; import com.threerings.presents.client.InvocationService; import com.threerings.presents.data.InvocationMarshaller; -import com.threerings.presents.dobj.InvocationResponseEvent; import com.threerings.util.Name; /** diff --git a/src/main/java/com/threerings/crowd/data/LocationMarshaller.java b/src/main/java/com/threerings/crowd/data/LocationMarshaller.java index 381a58b8d..26a31b021 100644 --- a/src/main/java/com/threerings/crowd/data/LocationMarshaller.java +++ b/src/main/java/com/threerings/crowd/data/LocationMarshaller.java @@ -25,7 +25,6 @@ import javax.annotation.Generated; import com.threerings.crowd.client.LocationService; import com.threerings.presents.data.InvocationMarshaller; -import com.threerings.presents.dobj.InvocationResponseEvent; /** * Provides the implementation of the {@link LocationService} interface diff --git a/src/main/java/com/threerings/presents/data/TimeBaseMarshaller.java b/src/main/java/com/threerings/presents/data/TimeBaseMarshaller.java index 9a9caff0f..9171ce413 100644 --- a/src/main/java/com/threerings/presents/data/TimeBaseMarshaller.java +++ b/src/main/java/com/threerings/presents/data/TimeBaseMarshaller.java @@ -24,7 +24,6 @@ package com.threerings.presents.data; import javax.annotation.Generated; import com.threerings.presents.client.TimeBaseService; -import com.threerings.presents.dobj.InvocationResponseEvent; /** * Provides the implementation of the {@link TimeBaseService} interface diff --git a/src/main/java/com/threerings/presents/dobj/InvocationResponseEvent.java b/src/main/java/com/threerings/presents/dobj/InvocationResponseEvent.java index 3e1cbf905..174a5aadf 100644 --- a/src/main/java/com/threerings/presents/dobj/InvocationResponseEvent.java +++ b/src/main/java/com/threerings/presents/dobj/InvocationResponseEvent.java @@ -22,7 +22,6 @@ package com.threerings.presents.dobj; import com.samskivert.util.StringUtil; -import com.threerings.presents.net.Transport; /** * Used to dispatch an invocation response from the server to the client. diff --git a/src/main/java/com/threerings/presents/tools/GenServiceTask.java b/src/main/java/com/threerings/presents/tools/GenServiceTask.java index b147f8fb1..720414368 100644 --- a/src/main/java/com/threerings/presents/tools/GenServiceTask.java +++ b/src/main/java/com/threerings/presents/tools/GenServiceTask.java @@ -45,7 +45,6 @@ import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService; import com.threerings.presents.data.ClientObject; import com.threerings.presents.data.InvocationMarshaller; -import com.threerings.presents.dobj.InvocationResponseEvent; import com.threerings.presents.server.InvocationDispatcher; import com.threerings.presents.server.InvocationException; import com.threerings.presents.server.InvocationProvider; @@ -249,11 +248,6 @@ public class GenServiceTask extends InvocationTask imports.add(sdesc.service); imports.add(InvocationMarshaller.class); - // if any listeners are to be present, they need the response event - if (sdesc.listeners.size() > 0) { - imports.add(InvocationResponseEvent.class); - } - // import classes contained in arrays imports.translateClassArrays(); diff --git a/src/test/java/com/threerings/presents/data/TestMarshaller.java b/src/test/java/com/threerings/presents/data/TestMarshaller.java index a4f161025..d2e51e671 100644 --- a/src/test/java/com/threerings/presents/data/TestMarshaller.java +++ b/src/test/java/com/threerings/presents/data/TestMarshaller.java @@ -25,7 +25,6 @@ import javax.annotation.Generated; import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.TestService; -import com.threerings.presents.dobj.InvocationResponseEvent; import java.util.List; /**