Class ServerPlayerCreator
java.lang.Object
java.lang.Thread
cardmanager.impl.networking.ServerPlayerCreator
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionServerPlayerCreator(DefaultListModel outputPlayers, Settings settings) Creates a new instance of ServerControler -
Method Summary
Modifier and TypeMethodDescriptionvoidcloseAll()booleanstatic voidvoidrun()voidsetFinished(boolean finished) Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Constructor Details
-
ServerPlayerCreator
Creates a new instance of ServerControler- Throws:
IOException
-
-
Method Details
-
isFinished
public boolean isFinished() -
setFinished
public void setFinished(boolean finished) -
getJoinedPlayers
-
run
-
main
-
closeAll
public void closeAll()
-