Package com.example.server.handler
Interface HandleThread
- All Known Implementing Classes:
SimpleHandleThread
public interface HandleThread
This interface defines thread for processing message from queue.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the thread is currently processing.void
Stops the thread execution.void
start()
Starts the thread execution.
-
Method Details
-
isProcessing
boolean isProcessing()Checks if the thread is currently processing.- Returns:
- true if the thread is processing, false otherwise.
-
killThread
void killThread()Stops the thread execution. -
start
void start()Starts the thread execution.
-