com.realtime.crossfire.jxclient.main
Class Exiter

java.lang.Object
  extended by com.realtime.crossfire.jxclient.main.Exiter

public class Exiter
extends java.lang.Object

Allows to exit the application.


Field Summary
private  java.lang.Object terminateSync
          The object to be notified when the application terminates.
 
Constructor Summary
Exiter()
           
 
Method Summary
 void terminate()
          Terminates the application.
 void waitForTermination()
          Waits until the window has been disposed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

terminateSync

@NotNull
private final java.lang.Object terminateSync
The object to be notified when the application terminates.

Constructor Detail

Exiter

public Exiter()
Method Detail

terminate

public void terminate()
Terminates the application.


waitForTermination

public void waitForTermination()
                        throws java.lang.InterruptedException
Waits until the window has been disposed.

Throws:
java.lang.InterruptedException - if the current thread has been interrupted