Sending to Alternate Runners
Bill Frantz
frantz@communities.com
Mon, 02 Nov 1998 18:01:28 -0800
Is there anything in the current E runtime which allows an
E.send/E.sendOnly to a runner which is not the current default runner? I
had to hack something together quickly, and ended up with something (in my
application code) which looks like (for E.sendOnly()):
private void sendOnly(Object receiver, String verb, Object arg1) {
Object[] args = { arg1 };
myRunner.enqueue(new PendingEvent(receiver, null, verb, args));
}
It might be nice to have in E, something that looks like:
public static void sendOnly(Runner runner, Object receiver,
String verb, Object arg1) {
Object[] args = { arg1 };
runner.enqueue(new PendingEvent(receiver, null, verb, args));
}