e54a4d41f4
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
29 lines
752 B
Plaintext
29 lines
752 B
Plaintext
//
|
|
// $Id: ClientObject.dobj,v 1.1 2002/08/14 19:07:54 mdb Exp $
|
|
|
|
package com.threerings.presents.data;
|
|
|
|
import com.threerings.presents.dobj.DObject;
|
|
import com.threerings.presents.dobj.DSet;
|
|
|
|
/**
|
|
* Every client in the system has an associated client object to which
|
|
* only they subscribe. The client object can be used to deliver messages
|
|
* solely to a particular client as well as to publish client-specific
|
|
* data.
|
|
*/
|
|
public class ClientObject extends DObject
|
|
{
|
|
/** Used to publish all invocation service receivers registered on
|
|
* this client. */
|
|
public DSet receivers = new DSet();
|
|
|
|
/**
|
|
* Returns a short string identifying this client.
|
|
*/
|
|
public String who ()
|
|
{
|
|
return "(" + getOid() + ")";
|
|
}
|
|
}
|