Modified invocation services such that providers are responsible for

delivering their own responses. They now have all the information
necessary to do so which means that they can delay the delivery of a
response until some other asynchronous event has taken place (like a
database load completing). Prior to this, they were required to complete
their service immediately and return the response back to the invocation
manager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@216 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-08-11 00:05:58 +00:00
parent 9f4d4e3ac0
commit a44e552eb8
6 changed files with 86 additions and 61 deletions
@@ -1,5 +1,5 @@
//
// $Id: MessageEvent.java,v 1.4 2001/08/04 00:32:11 mdb Exp $
// $Id: MessageEvent.java,v 1.5 2001/08/11 00:05:58 mdb Exp $
package com.threerings.cocktail.cher.dobj;
@@ -66,6 +66,16 @@ public class MessageEvent extends TypedEvent
return _args;
}
/**
* Replaces the arguments associated with this message event.
* <em>Note:</em> this should only be called on events that have not
* yet been dispatched into the distributed object system.
*/
public void setArgs (Object[] args)
{
_args = args;
}
/**
* Applies this attribute change to the object.
*/