Class AbstractActiveNetModule.MainThread
- java.lang.Object
-
- java.lang.Thread
-
- com.helger.as2lib.processor.receiver.AbstractActiveNetModule.MainThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- AbstractActiveNetModule
protected static class AbstractActiveNetModule.MainThread extends Thread
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description MainThread(AbstractActiveNetModule aOwner, String sAddress, int nPort)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Socket
createAcceptSocket()
void
run()
void
terminate()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
MainThread
public MainThread(@Nonnull AbstractActiveNetModule aOwner, @Nullable String sAddress, @Nonnegative int nPort) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createAcceptSocket
@OverrideOnDemand protected Socket createAcceptSocket() throws IOException
- Throws:
IOException
-
terminate
public void terminate()
-
-