Coverage Summary for Class: FixedStatusResponse (it.polimi.ingsw.Server.Messages.ServerResponses)
Class |
Class, %
|
Method, %
|
Line, %
|
FixedStatusResponse |
0%
(0/1)
|
0%
(0/1)
|
0%
(0/1)
|
1 package it.polimi.ingsw.Server.Messages.ServerResponses;
2
3 import it.polimi.ingsw.Server.Messages.ServerResponses.SupportStructures.StatusCode;
4
5 import java.io.Serial;
6
7 /**
8 * Represents a {@link Response} that is always sent with the same {@link StatusCode#Success}
9 */
10 public abstract class FixedStatusResponse extends Response {
11 @Serial
12 private static final long serialVersionUID = 316L;
13
14 /**
15 * Constructs a fixed status response
16 */
17 public FixedStatusResponse() {
18 super(StatusCode.Success);
19 }
20 }