Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Source/Shared Sources/TimerCallback.java
/** |
* Apple Worldwide Developer Technical Support |
* |
* Sample showing how to send and receive AppleEvents using JDirect 2. |
* |
* File: TimerCallback.java |
* |
* This interface should be implemented by classes who want a callback from the Timer class. |
* @see Timer |
* |
* @author Levi Brown |
* @author Apple Computer, Inc. |
* |
* Copyright ©1999 Apple Computer, Inc. |
* All rights reserved. |
* |
* @version 1.0 |
* 4/15/1999 Shipped as 'AppleEvent Send and Receive' sample. |
* |
* You may incorporate this sample code into your applications without |
* restriction, though the sample code has been provided "AS IS" and the |
* responsibility for its operation is 100% yours. However, what you are |
* not permitted to do is to redistribute the source as "Apple Sample |
* Code" after having made changes. If you're going to re-distribute the |
* source, we require that you make it clear in the source that the code |
* was descended from Apple Sample Code, but that you've made changes. |
*/ |
public interface TimerCallback |
{ |
/** |
* This function gets called by the timer when the elapsed time reaches the sleep time. |
*/ |
public void timeIsUp(); |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-22