Class AbstractSimProcessDelegator

    • Constructor Detail

    • Method Detail

      • getRawId

        public long getRawId()
      • getId

        public String getId()
      • lifeCycle

        public abstract void lifeCycle()
      • isTerminated

        public boolean isTerminated()
        Returns whether this process has finished its execution.
        Specified by:
        isTerminated in interface ISimProcess
      • passivate

        public void passivate()
        Passivates this process. This will suspend the simulation of the process until it is resumed again using the scheduleAt method.
        Specified by:
        passivate in interface ISimProcess
      • scheduleAt

        public void scheduleAt​(double d)
        Resumes the process after waiting delay simulated time units.
        Specified by:
        scheduleAt in interface ISimProcess
        Parameters:
        d - the period of simulated time to wait before this process is activated again.
      • passivate

        public void passivate​(double delay)
        Puts the process asleep and resumes after waiting delay simulated time units.
        Specified by:
        passivate in interface ISimProcess
        Parameters:
        delay - the period of simulated time to wait before this process is activated again.