Package FAtiMA.Core.util.parsers
Class SocketListener
java.lang.Object
java.lang.Thread
FAtiMA.Core.util.parsers.SocketListener
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
RemoteAgent
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()abstract voidvoidbooleanabstract voidprocessMessage(String msg) voidrun()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
-
Field Details
-
maxSize
protected int maxSize -
socket
-
stopped
protected boolean stopped
-
-
Constructor Details
-
SocketListener
public SocketListener() -
SocketListener
Creates new SocketListener
-
-
Method Details
-
initializeSocket
public void initializeSocket() -
close
public void close() -
processMessage
- Throws:
IOException
-
handleSocketException
public abstract void handleSocketException() -
run
public void run() -
isStopped
public boolean isStopped()
-