// Generated code, do not modify

package run;


/** Stub class for remote class 'run.Worker_instance_impl' */
public   class Worker_instance_impl_KStub extends jp.lang.RemoteObject_instance_impl_KStub
  implements Worker_instance_intf
{
  /** Explicitly defined default constructor is necessary
      if uka.transport is used. */
  public Worker_instance_impl_KStub() {
    super();
  }

  /** Smart stubs reuse the stub of the servers super class. The first
      method identifier can not be computed at class loading time, 
      because a compile time constant is needed in switch statements. */
  private static final int ID_FIRSTMETHOD = jp.lang.RemoteObject_instance_impl_KStub.ID_LASTMETHOD + 1;

  static { 
    if (ID_FIRSTMETHOD != jp.lang.RemoteObject_instance_impl_KStub._KARMI_getLastMethodID() + 1) {
      // The compile time constants differ from the constant at class
      // loading time. This is an error due to incomplete separate
      // compilation
      throw new InternalError(
        "Separate compilation problem: Please recompile " +
        "class 'run.Worker_instance_impl' and all its subclasses."
      );
    }
  }

  /** Method identifier for method run_Worker_temporary_element_get_() */
  public static final int ID_run_Worker_temporary_element_get_$ = ID_FIRSTMETHOD + 0;

  public run.Element run_Worker_temporary_element_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (run.Element) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_temporary_element_get_());
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_temporary_element_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (run.Element) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_temporary_element_set_(run.Element _value_) */
  public static final int ID_run_Worker_temporary_element_set_$run_Element = ID_FIRSTMETHOD + 1;

  public run.Element run_Worker_temporary_element_set_(run.Element _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (run.Element) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_temporary_element_set_((run.Element) _cenv.doDeepClone(_value_)));
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_temporary_element_set_$run_Element);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(_value_);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (run.Element) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_temporary_node_get_() */
  public static final int ID_run_Worker_temporary_node_get_$ = ID_FIRSTMETHOD + 2;

  public run.Node run_Worker_temporary_node_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (run.Node) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_temporary_node_get_());
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_temporary_node_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (run.Node) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_temporary_node_set_(run.Node _value_) */
  public static final int ID_run_Worker_temporary_node_set_$run_Node = ID_FIRSTMETHOD + 3;

  public run.Node run_Worker_temporary_node_set_(run.Node _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (run.Node) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_temporary_node_set_((run.Node) _cenv.doDeepClone(_value_)));
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_temporary_node_set_$run_Node);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(_value_);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (run.Node) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_elementlist_get_() */
  public static final int ID_run_Worker_elementlist_get_$ = ID_FIRSTMETHOD + 4;

  public java.util.Vector run_Worker_elementlist_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (java.util.Vector) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_elementlist_get_());
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_elementlist_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (java.util.Vector) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_elementlist_set_(java.util.Vector _value_) */
  public static final int ID_run_Worker_elementlist_set_$java_util_Vector = ID_FIRSTMETHOD + 5;

  public java.util.Vector run_Worker_elementlist_set_(java.util.Vector _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (java.util.Vector) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_elementlist_set_((java.util.Vector) _cenv.doDeepClone(_value_)));
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_elementlist_set_$java_util_Vector);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(_value_);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (java.util.Vector) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_nodelist_get_() */
  public static final int ID_run_Worker_nodelist_get_$ = ID_FIRSTMETHOD + 6;

  public java.util.Vector run_Worker_nodelist_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (java.util.Vector) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_nodelist_get_());
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_nodelist_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (java.util.Vector) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_nodelist_set_(java.util.Vector _value_) */
  public static final int ID_run_Worker_nodelist_set_$java_util_Vector = ID_FIRSTMETHOD + 7;

  public java.util.Vector run_Worker_nodelist_set_(java.util.Vector _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (java.util.Vector) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_nodelist_set_((java.util.Vector) _cenv.doDeepClone(_value_)));
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_nodelist_set_$java_util_Vector);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(_value_);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (java.util.Vector) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_barrier_get_() */
  public static final int ID_run_Worker_barrier_get_$ = ID_FIRSTMETHOD + 8;

  public jp.sync.Barrier run_Worker_barrier_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (jp.sync.Barrier) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_barrier_get_());
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_barrier_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (jp.sync.Barrier) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_barrier_set_(jp.sync.Barrier _value_) */
  public static final int ID_run_Worker_barrier_set_$jp_sync_Barrier = ID_FIRSTMETHOD + 9;

  public jp.sync.Barrier run_Worker_barrier_set_(jp.sync.Barrier _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        return (jp.sync.Barrier) _cenv.doDeepClone(((run.Worker_instance_impl) remoteServer).run_Worker_barrier_set_((jp.sync.Barrier) _cenv.doDeepClone(_value_)));
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_barrier_set_$jp_sync_Barrier);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(_value_);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return (jp.sync.Barrier) _c.receiveObject();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_time_get_() */
  public static final int ID_run_Worker_time_get_$ = ID_FIRSTMETHOD + 10;

  public double run_Worker_time_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_time_get_();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_time_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_time_set_(double _value_) */
  public static final int ID_run_Worker_time_set_$double = ID_FIRSTMETHOD + 11;

  public double run_Worker_time_set_(double _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_time_set_(_value_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_time_set_$double);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(8);
        _c.sendDouble(_value_);
        _c.closeSendPrimitive(8);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_time_inc_(double _value_, boolean _post_) */
  public static final int ID_run_Worker_time_inc_$double$boolean = ID_FIRSTMETHOD + 12;

  public double run_Worker_time_inc_(double _value_, boolean _post_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_time_inc_(_value_, _post_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_time_inc_$double$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(9);
        _c.sendDouble(_value_);
        _c.sendBoolean(_post_);
        _c.closeSendPrimitive(9);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_timestep_get_() */
  public static final int ID_run_Worker_timestep_get_$ = ID_FIRSTMETHOD + 13;

  public double run_Worker_timestep_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_timestep_get_();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_timestep_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_timestep_set_(double _value_) */
  public static final int ID_run_Worker_timestep_set_$double = ID_FIRSTMETHOD + 14;

  public double run_Worker_timestep_set_(double _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_timestep_set_(_value_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_timestep_set_$double);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(8);
        _c.sendDouble(_value_);
        _c.closeSendPrimitive(8);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_timestep_inc_(double _value_, boolean _post_) */
  public static final int ID_run_Worker_timestep_inc_$double$boolean = ID_FIRSTMETHOD + 15;

  public double run_Worker_timestep_inc_(double _value_, boolean _post_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_timestep_inc_(_value_, _post_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_timestep_inc_$double$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(9);
        _c.sendDouble(_value_);
        _c.sendBoolean(_post_);
        _c.closeSendPrimitive(9);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_ttemp_get_() */
  public static final int ID_run_Worker_ttemp_get_$ = ID_FIRSTMETHOD + 16;

  public double run_Worker_ttemp_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_ttemp_get_();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_ttemp_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_ttemp_set_(double _value_) */
  public static final int ID_run_Worker_ttemp_set_$double = ID_FIRSTMETHOD + 17;

  public double run_Worker_ttemp_set_(double _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_ttemp_set_(_value_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_ttemp_set_$double);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(8);
        _c.sendDouble(_value_);
        _c.closeSendPrimitive(8);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_ttemp_inc_(double _value_, boolean _post_) */
  public static final int ID_run_Worker_ttemp_inc_$double$boolean = ID_FIRSTMETHOD + 18;

  public double run_Worker_ttemp_inc_(double _value_, boolean _post_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_ttemp_inc_(_value_, _post_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_ttemp_inc_$double$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(9);
        _c.sendDouble(_value_);
        _c.sendBoolean(_post_);
        _c.closeSendPrimitive(9);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_keep_running_get_() */
  public static final int ID_run_Worker_keep_running_get_$ = ID_FIRSTMETHOD + 19;

  public boolean run_Worker_keep_running_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_keep_running_get_();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_keep_running_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleBoolean();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_keep_running_set_(boolean _value_) */
  public static final int ID_run_Worker_keep_running_set_$boolean = ID_FIRSTMETHOD + 20;

  public boolean run_Worker_keep_running_set_(boolean _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_keep_running_set_(_value_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_keep_running_set_$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(1);
        _c.sendBoolean(_value_);
        _c.closeSendPrimitive(1);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleBoolean();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_autostep_get_() */
  public static final int ID_run_Worker_autostep_get_$ = ID_FIRSTMETHOD + 21;

  public boolean run_Worker_autostep_get_() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_autostep_get_();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_autostep_get_$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleBoolean();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run_Worker_autostep_set_(boolean _value_) */
  public static final int ID_run_Worker_autostep_set_$boolean = ID_FIRSTMETHOD + 22;

  public boolean run_Worker_autostep_set_(boolean _value_) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).run_Worker_autostep_set_(_value_);
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run_Worker_autostep_set_$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(1);
        _c.sendBoolean(_value_);
        _c.closeSendPrimitive(1);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleBoolean();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method addElement(run.Element el) */
  public static final int ID_addElement$run_Element = ID_FIRSTMETHOD + 23;

  public void addElement(run.Element el) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        ((run.Worker_instance_impl) remoteServer).addElement((run.Element) _cenv.doDeepClone(el));
        return;
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_addElement$run_Element);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(el);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method removeElement(run.Element el) */
  public static final int ID_removeElement$run_Element = ID_FIRSTMETHOD + 24;

  public void removeElement(run.Element el) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        ((run.Worker_instance_impl) remoteServer).removeElement((run.Element) _cenv.doDeepClone(el));
        return;
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_removeElement$run_Element);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(el);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method addNode(run.Node node) */
  public static final int ID_addNode$run_Node = ID_FIRSTMETHOD + 25;

  public void addNode(run.Node node) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        ((run.Worker_instance_impl) remoteServer).addNode((run.Node) _cenv.doDeepClone(node));
        return;
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_addNode$run_Node);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(node);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method removeNode(run.Node node) */
  public static final int ID_removeNode$run_Node = ID_FIRSTMETHOD + 26;

  public void removeNode(run.Node node) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      uka.karmi.rmi.CopyEnvironment _cenv = uka.karmi.rmi.Transport.getCopyEnvironment();
      try {
        ((run.Worker_instance_impl) remoteServer).removeNode((run.Node) _cenv.doDeepClone(node));
        return;
      } catch (CloneNotSupportedException ex) {
        throw new uka.karmi.rmi.RemoteException("KaRMIc: arg or result not clonable", ex);
      } finally {
        uka.karmi.rmi.Transport.putCopyEnvironment(_cenv);
      }
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_removeNode$run_Node);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.sendObject(node);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method run() */
  public static final int ID_run$ = ID_FIRSTMETHOD + 27;

  public void run() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      ((run.Worker_instance_impl) remoteServer).run();
      return;
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_run$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method setKeep_running(boolean keep_running) */
  public static final int ID_setKeep_running$boolean = ID_FIRSTMETHOD + 28;

  public void setKeep_running(boolean keep_running) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      ((run.Worker_instance_impl) remoteServer).setKeep_running(keep_running);
      return;
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_setKeep_running$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(1);
        _c.sendBoolean(keep_running);
        _c.closeSendPrimitive(1);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method getTime() */
  public static final int ID_getTime$ = ID_FIRSTMETHOD + 29;

  public double getTime() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).getTime();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_getTime$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method setTime(double time) */
  public static final int ID_setTime$double = ID_FIRSTMETHOD + 30;

  public void setTime(double time) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      ((run.Worker_instance_impl) remoteServer).setTime(time);
      return;
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_setTime$double);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(8);
        _c.sendDouble(time);
        _c.closeSendPrimitive(8);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method getTimestep() */
  public static final int ID_getTimestep$ = ID_FIRSTMETHOD + 31;

  public double getTimestep() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).getTimestep();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_getTimestep$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method setTimestep(double timestep) */
  public static final int ID_setTimestep$double = ID_FIRSTMETHOD + 32;

  public void setTimestep(double timestep) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      ((run.Worker_instance_impl) remoteServer).setTimestep(timestep);
      return;
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_setTimestep$double);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(8);
        _c.sendDouble(timestep);
        _c.closeSendPrimitive(8);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method getTtemp() */
  public static final int ID_getTtemp$ = ID_FIRSTMETHOD + 33;

  public double getTtemp() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).getTtemp();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_getTtemp$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleDouble();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method isAutostep() */
  public static final int ID_isAutostep$ = ID_FIRSTMETHOD + 34;

  public boolean isAutostep() throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      return ((run.Worker_instance_impl) remoteServer).isAutostep();
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_isAutostep$);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return _c.receiveSingleBoolean();
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Method identifier for method setAutostep(boolean autostep) */
  public static final int ID_setAutostep$boolean = ID_FIRSTMETHOD + 35;

  public void setAutostep(boolean autostep) throws uka.karmi.rmi.RemoteException {
    if (remoteServer != null) {
      // short cut: call server implementation directly
      ((run.Worker_instance_impl) remoteServer).setAutostep(autostep);
      return;
    } else {
      uka.karmi.rmi.ClientConnection _c = remoteClientRef.getContext(run.Worker_instance_impl_KStub.ID_setAutostep$boolean);

      Throwable resultex;
      try {
        _c.openSendCall();
        _c.openSendPrimitive(1);
        _c.sendBoolean(autostep);
        _c.closeSendPrimitive(1);
        _c.closeSendCall();

        boolean _normalReturn = _c.openReceiveResult();
        try {
          if (_normalReturn) {
            return;
          } else {
            resultex = (Throwable) _c.receiveObject();
          }
        } finally {
          _c.closeReceiveResult();
        }
      } catch (ClassNotFoundException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: unmarshal problem", ex);
      } catch (uka.karmi.rmi.RemoteException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (java.io.IOException ex) {
        _c.closeExceptionally();
        throw new uka.karmi.rmi.RemoteException("KaRMI: transport problem", ex);
      } catch (RuntimeException ex) {
        _c.closeExceptionally();
        throw ex;
      } catch (Error ex) {
        _c.closeExceptionally();
        throw ex;
      }

      // rethrow runtime exceptions and declared exceptions
      if (resultex instanceof java.lang.Error) {
        throw (java.lang.Error) resultex;
      }
      if (resultex instanceof java.lang.RuntimeException) {
        throw (java.lang.RuntimeException) resultex;
      }
      // exception not possible here
      throw new InternalError("KaRMI: exception not declared: " + resultex);
    }
  }

  /** Export the last method id to subclasses of 
      this stub class to produce unique method ids
      within a branch of the class hierarchy. */
  protected static final int ID_LASTMETHOD = ID_setAutostep$boolean;

  /** Allow check for separate compilation problems 
      at class loading time. */
  protected static int _KARMI_getLastMethodID() {
    return ID_LASTMETHOD;
  }

  /**
   * Transport descriptor for class Worker_instance_impl_KStub.
   */
  public static final uka.transport.TransportDescriptor TRANSPORT_DESCRIPTOR =
    new uka.transport.TransportDescriptor() {
      public Object unmarshalReference(uka.transport.UnmarshalStream s, int id)
        throws java.io.IOException, ClassNotFoundException
      {
        return new Worker_instance_impl_KStub(s, id);
      }

      public boolean unmarshal(Object obj, uka.transport.UnmarshalStream s)
        throws ClassNotFoundException, java.io.IOException
      {
        ((Worker_instance_impl_KStub) obj).unmarshal(s);
        return true;
      }

      public void marshalReference(Object obj, uka.transport.MarshalStream s)
        throws java.io.IOException
      {
        ((Worker_instance_impl_KStub) obj).marshalReference(s);
      }

      public void marshal(Object obj, uka.transport.MarshalStream s)
        throws java.io.IOException
      {
        ((Worker_instance_impl_KStub) obj).marshal(s);
      }

      public Object deepClone(Object orig, int id, uka.transport.DeepClone _helper)
        throws CloneNotSupportedException
      {
        return orig;
      }

      public boolean deepCloneReferences(Object orig, Object copy, uka.transport.DeepClone _helper)
        throws CloneNotSupportedException
      {
        return false;
      }

      public void restoreAfterUnmarshal(Object obj)
        throws ClassNotFoundException, java.io.IOException
      {
        ((Worker_instance_impl_KStub) obj).externalRestoreAfterUnmarshal();
      }

      public Class getType() {
        return Worker_instance_impl_KStub.class;
      }
    };

  public uka.transport.TransportDescriptor getTransportDescriptor() {
    return TRANSPORT_DESCRIPTOR;
  }

  /**
   * Called from uka.transport.UnmarshalStream to create
   * a transportable object.
   */
  public Worker_instance_impl_KStub(uka.transport.UnmarshalStream _stream, int _id)
    throws java.io.IOException, ClassNotFoundException
  {
    super(_stream, _id);
  }

}
