Added comments that explain the temporal validity constraints on the
objects available via the context. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@98 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,21 +1,24 @@
|
|||||||
//
|
//
|
||||||
// $Id: PresentsContext.java,v 1.2 2001/07/20 23:23:50 mdb Exp $
|
// $Id: PresentsContext.java,v 1.3 2001/07/21 01:06:24 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.cher.util;
|
package com.threerings.cocktail.cher.util;
|
||||||
|
|
||||||
import com.samskivert.util.Context;
|
import com.samskivert.util.Context;
|
||||||
import com.threerings.cocktail.cher.dobj.DObjectManager;
|
|
||||||
import com.threerings.cocktail.cher.client.Client;
|
import com.threerings.cocktail.cher.client.Client;
|
||||||
|
import com.threerings.cocktail.cher.dobj.DObjectManager;
|
||||||
|
|
||||||
public interface CherContext extends Context
|
public interface CherContext extends Context
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Returns a reference to the client.
|
* Returns a reference to the client. This reference should be valid
|
||||||
|
* for the life of the application.
|
||||||
*/
|
*/
|
||||||
public Client getClient ();
|
public Client getClient ();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a reference to the distributed object manager.
|
* Returns a reference to the distributed object manager. This
|
||||||
|
* reference is only valid for the duration of a session.
|
||||||
*/
|
*/
|
||||||
public DObjectManager getDObjectManager ();
|
public DObjectManager getDObjectManager ();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user