/*
 * JaamSim Discrete Event Simulation
 * Copyright (C) 2014 Ausenco Engineering Canada Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.jaamsim.events;

public interface EventTimeListener {

public void tickUpdate(long tick);
public void timeRunning();
public void handleError(Throwable t);

}

@@ -87,16 +87,60 @@
 da Inc.%0A
+ * Copyright (C) 2021 JaamSim Software Inc.%0A
  *%0A * Li
@@ -764,70 +764,375 @@
  %7B%0A%0A
-public void tickUpdate(long tick);%0Apublic void timeRunning();%0A
+%09/**%0A%09 * Called when the simulation time is advanced by the next event.%0A%09 * @param tick - present simulation time in clock ticks%0A%09 */%0A%09public void tickUpdate(long tick);%0A%0A%09/**%0A%09 * Called when the simulation run is started, resumed, or paused.%0A%09 */%0A%09public void timeRunning();%0A%0A%09/**%0A%09 * Called when a runtime error is encountered.%0A%09 * @param t - error condition%0A%09 */%0A%09
 publ

add javadocs to EventTimeListener interface