Package VASSAL.chat.peer2peer
Class AcceptPeerThread
java.lang.Object
java.lang.Thread
VASSAL.chat.peer2peer.AcceptPeerThread
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionAcceptPeerThread
(int initialPort, org.litesoft.p2pchat.PendingPeerManager ppm) AcceptPeerThread
(ServerSocket socket, org.litesoft.p2pchat.PendingPeerManager ppm) -
Method Summary
Methods inherited from class java.lang.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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
AcceptPeerThread
public AcceptPeerThread(int initialPort, org.litesoft.p2pchat.PendingPeerManager ppm) throws IOException - Throws:
IOException
-
AcceptPeerThread
-
-
Method Details
-
getPort
public int getPort() -
start
-
run
-
halt
public void halt()
-