| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract Runnable | |
| public final boolean | |
| protected abstract void | |
| protected abstract boolean | Returns: flag indicating whether this receiver should startDetermines whether this receiver should start. |
| public final void | |
| public final void |
| started | back to summary |
|---|---|
| private boolean started | |
| ReceiverBase | back to summary |
|---|---|
| public ReceiverBase() | |
| getRunnableTask | back to summary |
|---|---|
| protected abstract Runnable getRunnableTask() Provides the runnable task this receiver will execute.
| |
| isStarted | back to summary |
|---|---|
| public final boolean isStarted() Implements ch. | |
| onStop | back to summary |
|---|---|
| protected abstract void onStop() Allows a subclass to participate in receiver shutdown. | |
| shouldStart | back to summary |
|---|---|
| protected abstract boolean shouldStart() Determines whether this receiver should start.
Subclasses will implement this method to do any subclass-specific validation.
The subclass's
| |
| start | back to summary |
|---|---|
| public final void start() Implements ch. | |
| stop | back to summary |
|---|---|
| public final void stop() Implements ch. | |