Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.main.Exiter Class Reference

Allows to exit the application. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.main.Exiter:

Public Member Functions

void terminate ()
 Terminates the application. More...
 
void waitForTermination () throws InterruptedException
 Waits until the window has been disposed. More...
 

Private Attributes

final Object terminateSync = new Object()
 The object to be notified when the application terminates. More...
 

Detailed Description

Allows to exit the application.

Author
Andreas Kirschbaum

Definition at line 30 of file Exiter.java.

Member Function Documentation

◆ terminate()

void com.realtime.crossfire.jxclient.main.Exiter.terminate ( )

◆ waitForTermination()

void com.realtime.crossfire.jxclient.main.Exiter.waitForTermination ( ) throws InterruptedException

Waits until the window has been disposed.

Exceptions
InterruptedExceptionif the current thread has been interrupted

Definition at line 52 of file Exiter.java.

References com.realtime.crossfire.jxclient.main.Exiter.terminateSync.

Member Data Documentation

◆ terminateSync

final Object com.realtime.crossfire.jxclient.main.Exiter.terminateSync = new Object()
private

The object to be notified when the application terminates.

Definition at line 36 of file Exiter.java.

Referenced by com.realtime.crossfire.jxclient.main.Exiter.terminate(), and com.realtime.crossfire.jxclient.main.Exiter.waitForTermination().


The documentation for this class was generated from the following file: