As the first application of the new invokeNodeRequest, rip all the chat collection stuff out of CrowdPeerManager and into the chat package where it belongs.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6142 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Par Winzell
2010-09-07 19:10:00 +00:00
parent 5365b53ee6
commit 628e03beed
6 changed files with 92 additions and 182 deletions
@@ -26,7 +26,6 @@ import javax.annotation.Generated;
import com.threerings.crowd.chat.client.ChatService;
import com.threerings.crowd.chat.data.UserMessage;
import com.threerings.crowd.peer.data.CrowdPeerMarshaller;
import com.threerings.presents.client.InvocationService;
import com.threerings.presents.data.ClientObject;
import com.threerings.presents.server.InvocationDispatcher;
import com.threerings.presents.server.InvocationException;
@@ -72,12 +71,6 @@ public class CrowdPeerDispatcher extends InvocationDispatcher<CrowdPeerMarshalle
);
return;
case CrowdPeerMarshaller.GET_CHAT_HISTORY:
((CrowdPeerProvider)provider).getChatHistory(
source, (Name)args[0], (InvocationService.ResultListener)args[1]
);
return;
default:
super.dispatchRequest(source, methodId, args);
return;