Package adams.flow.execution
Class RemoteFlowListener.ListenerRunnable
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.flow.core.RunnableWithLogging
-
- adams.flow.execution.RemoteFlowListener.ListenerRunnable
-
- All Implemented Interfaces:
LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Stoppable
,StoppableWithFeedback
,Serializable
,Runnable
- Enclosing class:
- RemoteFlowListener
public static class RemoteFlowListener.ListenerRunnable extends RunnableWithLogging
The runnable that listens to the- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RemoteFlowListener
m_Owner
the owner.protected ServerSocket
m_ServerSocket
the server socket in use.-
Fields inherited from class adams.flow.core.RunnableWithLogging
m_Running, m_Stopped
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description ListenerRunnable(RemoteFlowListener owner)
Initializes the runnable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRun()
Performs the actual execution.void
stopExecution()
Stops the execution.-
Methods inherited from class adams.flow.core.RunnableWithLogging
isRunning, isStopped, postRun, preRun, run, setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Owner
protected RemoteFlowListener m_Owner
the owner.
-
m_ServerSocket
protected ServerSocket m_ServerSocket
the server socket in use.
-
-
Constructor Detail
-
ListenerRunnable
public ListenerRunnable(RemoteFlowListener owner)
Initializes the runnable.- Parameters:
owner
- the owning listener
-
-
Method Detail
-
doRun
protected void doRun()
Performs the actual execution.- Specified by:
doRun
in classRunnableWithLogging
-
stopExecution
public void stopExecution()
Stops the execution.- Specified by:
stopExecution
in interfaceStoppable
- Overrides:
stopExecution
in classRunnableWithLogging
-
-