Package it.polimi.ingsw.utils
Class Pinger
- java.lang.Object
-
- it.polimi.ingsw.utils.Observable<String>
-
- it.polimi.ingsw.utils.Pinger
-
- All Implemented Interfaces:
Runnable
public class Pinger extends Observable<String> implements Runnable
Pinger Class, used to notify a observer a ping every 10s
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetStatus()Get Pinger Statusvoidrun()Run Pinger, ping the target observer each 10svoidstop()Stop the ping-
Methods inherited from class it.polimi.ingsw.utils.Observable
addObservers, addObservers, notify, notify
-
-