Skip to content

KruMF/ThreadAbstraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThreadAbstraction

by Krumuvecis

Free to use and modify for whatever purposes. No copyrights apply.

Requirements

Instructions

For single-use AbstractThread :

  1. Create an object that extends AbstractThread.
    • Implement object.update() for custom actions.
    • (Optional) override object.finish() for custom ending.
  2. Start by calling object.start().
  3. Note: object has to be re-created upon every re-use.

For cyclical AbstractUpdater :

  1. Create an object that extends AbstractUpdater.
    • 3 constructors available.
    • Implement object.update() for custom actions.
    • Use object.delayCalculator for custom delay preferences.
    • (Optional) override object.finish() for custom ending.
    • (Optional) override object.endCheck() for custom end-checking.
  2. Start by calling object.start().
  3. Stop by calling object.end().

Notes

Latest working version available at master branch.

Development happening at develop branch.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Languages