com.threerings.crowd.peer.data
Class CrowdPeerMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller<ClientObject>
com.threerings.crowd.peer.data.CrowdPeerMarshaller
- All Implemented Interfaces:
- CrowdPeerService, Streamable, InvocationService<ClientObject>
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from CrowdPeerService.java.")
public class CrowdPeerMarshaller- extends InvocationMarshaller<ClientObject>
- implements CrowdPeerService
Provides the implementation of the CrowdPeerService interface
that marshalls the arguments and delivers the request to the provider
on the server. Also provides an implementation of the response listener
interfaces that marshall the response arguments and deliver them back
to the requesting client.
DELIVER_BROADCAST
public static final int DELIVER_BROADCAST
- The method id used to dispatch
deliverBroadcast(com.threerings.util.Name, byte, java.lang.String, java.lang.String) requests.
- See Also:
- Constant Field Values
DELIVER_TELL
public static final int DELIVER_TELL
- The method id used to dispatch
deliverTell(com.threerings.crowd.chat.data.UserMessage, com.threerings.util.Name, com.threerings.crowd.chat.client.ChatService.TellListener) requests.
- See Also:
- Constant Field Values
CrowdPeerMarshaller
public CrowdPeerMarshaller()
deliverBroadcast
public void deliverBroadcast(Name arg1,
byte arg2,
String arg3,
String arg4)
- Description copied from interface:
CrowdPeerService
- Dispatches a broadcast message on this peer.
- Specified by:
deliverBroadcast in interface CrowdPeerService
deliverTell
public void deliverTell(UserMessage arg1,
Name arg2,
ChatService.TellListener arg3)
- Description copied from interface:
CrowdPeerService
- Used to forward a tell request to the server on which the destination user actually
occupies.
- Specified by:
deliverTell in interface CrowdPeerService