Files
Progetto-ingegneria-del-sof…/deliverables/Coverage/htmlReport/ns-15/sources/source-1.html
T
2026-06-19 21:50:38 +02:00

103 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > IClientCallback</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.RMI.Common</a>
</div>
<h1>Coverage Summary for Class: IClientCallback (it.polimi.ingsw.gc14.Network.RMI.Common)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
</tr>
<tr>
<td class="name">IClientCallback</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Network.RMI.Common;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.Model.*;
&nbsp;import it.polimi.ingsw.gc14.Network.NetworkEvent;
&nbsp;
&nbsp;import java.io.Serializable;
&nbsp;import java.rmi.*;
&nbsp;import java.util.Map;
&nbsp;
&nbsp;/**
&nbsp; * Callback interface used by the server to notify an RMI client about
&nbsp; * game updates and incoming network actions.
&nbsp; *
&nbsp; * &lt;p&gt;Implementations of this interface are remotely accessible and
&nbsp; * serializable.
&nbsp; */
&nbsp;public interface IClientCallback extends Remote, Serializable {
&nbsp;
&nbsp; /**
&nbsp; * Notifies the client that the game model has been initialized or updated.
&nbsp; *
&nbsp; * @param miniModel the current mini model of the game.
&nbsp; * @throws RemoteException if an RMI communication error occurs.
&nbsp; */
&nbsp; void onGameInit(MiniModel miniModel) throws RemoteException;
&nbsp;
&nbsp; /**
&nbsp; * Notifies the client about a network action to process.
&nbsp; *
&nbsp; * @param action the network event received from the server.
&nbsp; * @throws RemoteException if an RMI communication error occurs.
&nbsp; */
&nbsp; void onAction(NetworkEvent action) throws RemoteException;
&nbsp;}
</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-14 21:53</div>
</div>
</body>
</html>