public class AliveMessage extends Object implements Serializable
Worker
to the org.dice_research.squirrel.components.FrontierComponent that he is still alive.
The Worker identifies himself by the idOfWorker.| Modifier and Type | Field and Description |
|---|---|
private int |
idOfWorker
The id of the worker that sends the alive message.
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
AliveMessage(int idOfWorker)
Create aliveMessage by an id of a worker.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIdOfWorker()
Get the id of the worker.
|
private static final long serialVersionUID
private int idOfWorker
Copyright © 2017–2019. All rights reserved.