Created a CherContext which will be supplied to code that makes use of the
cher services. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@91 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
//
|
||||||
|
// $Id: PresentsContext.java,v 1.1 2001/07/20 19:49:06 mdb Exp $
|
||||||
|
|
||||||
|
package com.threerings.cocktail.cher.util;
|
||||||
|
|
||||||
|
import com.samskivert.util.Context;
|
||||||
|
import com.threerings.cocktail.cher.dobj.DObjectManager;
|
||||||
|
import com.threerings.cocktail.cher.client.Client;
|
||||||
|
|
||||||
|
public interface CherContext extends Context
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Returns a reference to the client.
|
||||||
|
*/
|
||||||
|
public Client getClient ();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a reference to the distributed object manager.
|
||||||
|
*/
|
||||||
|
public Client getDObjectManager ();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user