Package it.polimi.ingsw.Server
Class RMILifeline
java.lang.Object
it.polimi.ingsw.Server.RMILifeline
Application-level KeepAlive implementation
-
Field Summary
Modifier and TypeFieldDescription(package private) ExecutorService
(package private) AtomicBoolean
private final int
-
Constructor Summary
ConstructorDescriptionRMILifeline
(ClientStatusInterface csi, Map<ClientStatusInterface, GameController> clientStatusToController) Naive Application-level KeepAlive implementation -
Method Summary
-
Field Details
-
SEC_TIMEOUT
private final int SEC_TIMEOUT- See Also:
-
executor
ExecutorService executor -
flag
AtomicBoolean flag
-
-
Constructor Details
-
RMILifeline
public RMILifeline(ClientStatusInterface csi, Map<ClientStatusInterface, GameController> clientStatusToController) Naive Application-level KeepAlive implementation- Parameters:
csi
- Client Status InterfaceclientStatusToController
- maps Client Status Interfaces to Game Controllers
-