Skip to content

Instantly share code, notes, and snippets.

@unclejamal
Created September 18, 2013 20:47
Show Gist options
  • Save unclejamal/6615449 to your computer and use it in GitHub Desktop.
Save unclejamal/6615449 to your computer and use it in GitHub Desktop.
public class Main {
public static void main(String[] args) {
new Main().startTimeExpert();
}
private void startTimeExpert() {
final TimeExpertServer timeExpert = new TimeExpertServer(new RealClock());
try {
timeExpert.start();
timeExpert.join();
} finally {
timeExpert.stop();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment