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:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// $Id: ChatReceiver.java,v 1.3 2002/08/14 19:07:49 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.chat;
|
||||
|
||||
import com.threerings.presents.client.InvocationReceiver;
|
||||
|
||||
/**
|
||||
* Defines, for the chat services, a set of notifications delivered
|
||||
* asynchronously by the server to the client.
|
||||
*/
|
||||
public interface ChatReceiver extends InvocationReceiver
|
||||
{
|
||||
/**
|
||||
* Called when a tell message is received from another player on the
|
||||
* server.
|
||||
*
|
||||
* @param speaker the username of the user from which this message
|
||||
* originated.
|
||||
* @param bundle if non-null, a bundle that should be used to
|
||||
* translate the text of the tell message. This is generally only used
|
||||
* when some server entity originates the tell message rather than
|
||||
* another user. The server entity might then wish for its tell
|
||||
* message to be translated into a language appropriate for the
|
||||
* receiver. Such luxuries are not available for human to human
|
||||
* conversation, alas.
|
||||
* @param message the text of the tell message.
|
||||
*/
|
||||
public void receivedTell (String speaker, String bundle, String message);
|
||||
}
|
||||
Reference in New Issue
Block a user