Beginnings of invocation services implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@67 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: TestObject.dobj,v 1.1 2001/06/09 23:39:42 mdb Exp $
|
||||
// $Id: TestObject.dobj,v 1.2 2001/07/19 05:56:20 mdb Exp $
|
||||
|
||||
package com.threerings.cocktail.cher.server.test;
|
||||
|
||||
@@ -21,20 +21,12 @@ public class TestObject extends DObject
|
||||
|
||||
public void setFoo (int foo)
|
||||
{
|
||||
// generate an attribute changed event
|
||||
AttributeChangedEvent event = new AttributeChangedEvent(
|
||||
_oid, FOO, new Integer(foo));
|
||||
// and dispatch it to our dobjmgr
|
||||
_mgr.postEvent(event);
|
||||
requestAttributeChange(FOO, new Integer(foo));
|
||||
}
|
||||
|
||||
public void setBar (String bar)
|
||||
{
|
||||
// generate an attribute changed event
|
||||
AttributeChangedEvent event = new AttributeChangedEvent(
|
||||
_oid, BAR, bar);
|
||||
// and dispatch it to our dobjmgr
|
||||
_mgr.postEvent(event);
|
||||
requestAttributeChange(BAR, bar);
|
||||
}
|
||||
|
||||
public String toString ()
|
||||
|
||||
Reference in New Issue
Block a user