if (asThrow) {
command = new ThrowCommand();
assert payload instanceof Throwable : "Trying to throw something other than a Throwable";
// payload = new RemoteException((Throwable) payload);
} else {
command = new ReturnCommand();
}
CommandServerSerializationStreamWriter out = new CommandServerSerializationStreamWriter(
clientOracle, new HasValuesCommandSink(command));