FIx: Fixed Coverage Screenshots And htmlRepot.
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html id="htmlId">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
<title>Coverage Report > NetworkConfig</title>
|
||||
<style type="text/css">
|
||||
@import "../../css/coverage.css";
|
||||
@import "../../css/idea.min.css";
|
||||
</style>
|
||||
<script type="text/javascript" src="../../js/highlight.min.js"></script>
|
||||
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="content">
|
||||
<div class="breadCrumbs">
|
||||
Current scope: <a href="../../index.html">all classes</a>
|
||||
<span class="separator">|</span>
|
||||
<a href="../index.html">it.polimi.ingsw.gc14.Network</a>
|
||||
</div>
|
||||
|
||||
<h1>Coverage Summary for Class: NetworkConfig (it.polimi.ingsw.gc14.Network)</h1>
|
||||
|
||||
<table class="coverageStats">
|
||||
<tr>
|
||||
<th class="name">Class</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name">NetworkConfig</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
|
||||
|
||||
<pre>
|
||||
<code class="sourceCode" id="sourceCode"> package it.polimi.ingsw.gc14.Network;
|
||||
|
||||
/** Shared network constants used by both server and client components. */
|
||||
public final class NetworkConfig {
|
||||
/** Port on which the RMI registry listens. */
|
||||
public static final int RMI_PORT = 1099;
|
||||
/** Port on which the TCP game server listens. */
|
||||
public static final int TCP_PORT = 8080;
|
||||
/** Port on which the TCP heartbeat server listens. */
|
||||
public static final int HEARTBEAT_PORT = 8081;
|
||||
/** Milliseconds of silence before a client is considered disconnected. */
|
||||
public static final long SILENCE_THRESHOLD_MS = 5_000;
|
||||
/** Milliseconds between keep-alive pings sent by the client. */
|
||||
public static final long KEEPALIVE_INTERVAL_MS = 3_000;
|
||||
/** Minimum number of players required to start a game. */
|
||||
public static final int MIN_PLAYERS = 2;
|
||||
/** Maximum number of players allowed in a game. */
|
||||
public static final int MAX_PLAYERS = 5;
|
||||
|
||||
private NetworkConfig() {}
|
||||
}
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var msie = false, msie9 = false;
|
||||
/*@cc_on
|
||||
msie = true;
|
||||
@if (@_jscript_version >= 9)
|
||||
msie9 = true;
|
||||
@end
|
||||
@*/
|
||||
|
||||
if (!msie || msie && msie9) {
|
||||
hljs.highlightAll()
|
||||
hljs.initLineNumbersOnLoad();
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<div class="footer">
|
||||
|
||||
<div style="float:right;">generated on 2026-06-19 22:53</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user