You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Projet_JAVA_P2P_STRI2A/doc/javadoc/localException/class-use/TransmissionError.html

359 lines
18 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="fr">
<head>
<!-- Generated by javadoc (1.8.0_181) on Mon Apr 13 15:38:51 CEST 2020 -->
<title>Uses of Class localException.TransmissionError</title>
<meta name="date" content="2020-04-13">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class localException.TransmissionError";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../localException/TransmissionError.html" title="class in localException">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?localException/class-use/TransmissionError.html" target="_top">Frames</a></li>
<li><a href="TransmissionError.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class localException.TransmissionError" class="title">Uses of Class<br>localException.TransmissionError</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#clientP2P">clientP2P</a></td>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#protocolP2P">protocolP2P</a></td>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="clientP2P">
<!-- -->
</a>
<h3>Uses of <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a> in <a href="../../clientP2P/package-summary.html">clientP2P</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../clientP2P/package-summary.html">clientP2P</a> that throw <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ClientManagement.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientManagement.html#download-java.lang.String-">download</a></span>(java.lang.String&nbsp;filename)</code>
<div class="block">Try to download a file</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String[]</code></td>
<td class="colLast"><span class="typeNameLabel">ClientManagement.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientManagement.html#listDirectory--">listDirectory</a></span>()</code>
<div class="block">list servers directory content</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="protocolP2P">
<!-- -->
</a>
<h3>Uses of <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a> in <a href="../../protocolP2P/package-summary.html">protocolP2P</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../protocolP2P/package-summary.html">protocolP2P</a> that throw <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#checkCheckSum-byte:A-">checkCheckSum</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Used to check if the checksum is correct</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#constructPacket-byte:A-">constructPacket</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Private constructor helper with packet as byte[] parameter (typically used when receiving Packet response/request).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#constructPacket-byte:A-">constructPacket</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Private constructor helper with packet as byte[] parameter (typically used when receiving Packet response/request).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#constructPacket-byte:A-java.net.DatagramSocket-">constructPacket</a></span>(byte[]&nbsp;packet,
java.net.DatagramSocket&nbsp;responseSocket)</code>
<div class="block">Private constructor helper with packet as byte[] parameter and (typically used when receiving Packet request).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private void</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#constructPacket-byte:A-java.net.Socket-">constructPacket</a></span>(byte[]&nbsp;packet,
java.net.Socket&nbsp;responseSocket)</code>
<div class="block">Private constructor helper with packet as byte[] parameter and (typically used when receiving Packet request).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a>&lt;?&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#receiveResponse--">receiveResponse</a></span>()</code>
<div class="block">Receive response (typically used by client).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a>&lt;?&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#receiveResponse--">receiveResponse</a></span>()</code>
<div class="block">Receive response (typically used by client).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a>&lt;?&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacket.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#receiveResponse--">receiveResponse</a></span>()</code>
<div class="block">Receive a response</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../protocolP2P/package-summary.html">protocolP2P</a> that throw <a href="../../localException/TransmissionError.html" title="class in localException">TransmissionError</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/Denied.html#Denied-byte:A-">Denied</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with Packet received as parameter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/DiscoverRequest.html#DiscoverRequest-byte:A-">DiscoverRequest</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/DiscoverResponse.html#DiscoverResponse-byte:A-">DiscoverResponse</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/FileList.html#FileList-byte:A-">FileList</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/FilePart.html#FilePart-byte:A-">FilePart</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with Packet received as parameter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/HashRequest.html#HashRequest-byte:A-">HashRequest</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/HashResponse.html#HashResponse-byte:A-">HashResponse</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/LoadRequest.html#LoadRequest-byte:A-">LoadRequest</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/Payload.html#Payload-byte:A-">Payload</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor used to create a Payload (when no more specific subclasses exists) using packet as parameter.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#ProtocolP2PPacket-byte:A-">ProtocolP2PPacket</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Construct a packet from byte[], subclasses must overwrite this constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#ProtocolP2PPacket-java.lang.Object-">ProtocolP2PPacket</a></span>(java.lang.Object&nbsp;socket)</code>
<div class="block">Receive a request, subclasses must overwrite this constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#ProtocolP2PPacketTCP-byte:A-">ProtocolP2PPacketTCP</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Private constructor with packet as byte[] parameter (typically used when receiving Packet response).</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#ProtocolP2PPacketTCP-java.lang.Object-">ProtocolP2PPacketTCP</a></span>(java.lang.Object&nbsp;socket)</code>
<div class="block">Receive Request (typically used from server).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#ProtocolP2PPacketUDP-byte:A-">ProtocolP2PPacketUDP</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Private constructor with packet as byte[] parameter (typically used when receiving Packet response).</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#ProtocolP2PPacketUDP-java.lang.Object-">ProtocolP2PPacketUDP</a></span>(java.lang.Object&nbsp;socket)</code>
<div class="block">Receive Request (typically used from server).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/RatioRequest.html#RatioRequest-byte:A-">RatioRequest</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/RatioResponse.html#RatioResponse-byte:A-">RatioResponse</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client/server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/Register.html#Register-byte:A-">Register</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/SizeRequest.html#SizeRequest-byte:A-">SizeRequest</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/SizeResponse.html#SizeResponse-byte:A-">SizeResponse</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by client) with Packet received as parameter.</div>
</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/Unregister.html#Unregister-byte:A-">Unregister</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by server) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/UpdateRatio.html#UpdateRatio-byte:A-">UpdateRatio</a></span>(byte[]&nbsp;packet)</code>
<div class="block">Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../localException/TransmissionError.html" title="class in localException">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../index.html?localException/class-use/TransmissionError.html" target="_top">Frames</a></li>
<li><a href="TransmissionError.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>