|
|
<!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.InternalError</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.InternalError";
|
|
|
}
|
|
|
}
|
|
|
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/InternalError.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/InternalError.html" target="_top">Frames</a></li>
|
|
|
<li><a href="InternalError.html" target="_top">No Frames</a></li>
|
|
|
</ul>
|
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
|
<li><a href="../../allclasses-noframe.html">All 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.InternalError" class="title">Uses of Class<br>localException.InternalError</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/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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"> </td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><a href="#protocolP2P">protocolP2P</a></td>
|
|
|
<td class="colLast"> </td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><a href="#serverP2P">serverP2P</a></td>
|
|
|
<td class="colLast"> </td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><a href="#tracker">tracker</a></td>
|
|
|
<td class="colLast"> </td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
<li class="blockList">
|
|
|
<ul class="blockList">
|
|
|
<li class="blockList"><a name="clientP2P">
|
|
|
<!-- -->
|
|
|
</a>
|
|
|
<h3>Uses of <a href="../../localException/InternalError.html" title="class in localException">InternalError</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/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#assignTasks--">assignTasks</a></span>()</code>
|
|
|
<div class="block">Assign tasks randomly to threads.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#checkTasksStatus--">checkTasksStatus</a></span>()</code>
|
|
|
<div class="block">Remove tasks from failed threads.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<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 filename)</code>
|
|
|
<div class="block">Try to download a file</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#getHashSum512-tools.HostItem-">getHashSum512</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem)</code>
|
|
|
<div class="block">Get hashsum from server.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#init--">init</a></span>()</code>
|
|
|
<div class="block">Initialize infos about file to download (size, hash512sum, partslist to dl).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientManagement.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientManagement.html#initHostList--">initHostList</a></span>()</code>
|
|
|
<div class="block">Initialize hostList from tracker</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<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 server’s directory content</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#purgeList--">purgeList</a></span>()</code>
|
|
|
<div class="block">Removes servers not owning the correct file to download from list.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ClientDownload.</span><code><span class="memberNameLink"><a href="../../clientP2P/ClientDownload.html#setSize--">setSize</a></span>()</code>
|
|
|
<div class="block">Set size of file to download.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
<li class="blockList"><a name="protocolP2P">
|
|
|
<!-- -->
|
|
|
</a>
|
|
|
<h3>Uses of <a href="../../localException/InternalError.html" title="class in localException">InternalError</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/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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">Payload.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Payload.html#checkRequestResponseCode--">checkRequestResponseCode</a></span>()</code>
|
|
|
<div class="block">Used to check RRCode used is compatible with this class use, or if a more specific subclass is required.</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[] 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[] 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[] packet,
|
|
|
java.net.DatagramSocket 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[] packet,
|
|
|
java.net.Socket 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="../../tools/HostItem.html" title="class in tools">HostItem</a></code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#getHostItem--">getHostItem</a></span>()</code>
|
|
|
<div class="block">Get hostItem of the sender</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code><a href="../../tools/HostItem.html" title="class in tools">HostItem</a></code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#getHostItem--">getHostItem</a></span>()</code>
|
|
|
<div class="block">Get hostItem of the sender</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>abstract <a href="../../tools/HostItem.html" title="class in tools">HostItem</a></code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacket.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#getHostItem--">getHostItem</a></span>()</code>
|
|
|
<div class="block">Get hostItem of the sender</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code><a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?></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="rowColor">
|
|
|
<td class="colFirst"><code><a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?></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="altColor">
|
|
|
<td class="colFirst"><code>abstract <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?></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>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#send-java.net.DatagramSocket-">send</a></span>(java.net.DatagramSocket socket)</code>
|
|
|
<div class="block">Send a Packet.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#send-java.net.DatagramSocket-java.net.SocketAddress-">send</a></span>(java.net.DatagramSocket socket,
|
|
|
java.net.SocketAddress addr)</code>
|
|
|
<div class="block">Send a Packet.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#send-java.net.Socket-">send</a></span>(java.net.Socket socket)</code>
|
|
|
<div class="block">Send a Packet.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#sendRequest-java.lang.Object-">sendRequest</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Send a Request throught socket.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#sendRequest-java.lang.Object-">sendRequest</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Send a Request throught socket.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>abstract void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacket.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#sendRequest-java.lang.Object-">sendRequest</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Send a request</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code><U extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#sendResponse-U-">sendResponse</a></span>(U response)</code>
|
|
|
<div class="block">Send a Response to a Request (typically used from server).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code><U extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#sendResponse-U-">sendResponse</a></span>(U response)</code>
|
|
|
<div class="block">Send a Response to a Request (typically used from server).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>abstract <U extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacket.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#sendResponse-U-">sendResponse</a></span>(U response)</code>
|
|
|
<div class="block">Send a response</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<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#setCheckSum-byte:A-">setCheckSum</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Used to set checksum into packet</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>private void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">FilePart.</span><code><span class="memberNameLink"><a href="../../protocolP2P/FilePart.html#setFilename-byte:A-">setFilename</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Write from Packet into filename.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected static void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">Payload.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Payload.html#setPayloadSize-int-byte:A-">setPayloadSize</a></span>(int size,
|
|
|
byte[] packet)</code>
|
|
|
<div class="block">Set payload’s size in a Packet.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">UpdateRatio.</span><code><span class="memberNameLink"><a href="../../protocolP2P/UpdateRatio.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">Unregister.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Unregister.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">SizeResponse.</span><code><span class="memberNameLink"><a href="../../protocolP2P/SizeResponse.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">SizeRequest.</span><code><span class="memberNameLink"><a href="../../protocolP2P/SizeRequest.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">Register.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Register.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">RatioResponse.</span><code><span class="memberNameLink"><a href="../../protocolP2P/RatioResponse.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">RatioRequest.</span><code><span class="memberNameLink"><a href="../../protocolP2P/RatioRequest.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketUDP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing full packet (typically used when sending packet).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">ProtocolP2PPacketTCP.</span><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing full packet (typically used when sending packet).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">Payload.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Payload.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">LoadRequest.</span><code><span class="memberNameLink"><a href="../../protocolP2P/LoadRequest.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">HashResponse.</span><code><span class="memberNameLink"><a href="../../protocolP2P/HashResponse.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">HashRequest.</span><code><span class="memberNameLink"><a href="../../protocolP2P/HashRequest.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">FilePart.</span><code><span class="memberNameLink"><a href="../../protocolP2P/FilePart.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">FileList.</span><code><span class="memberNameLink"><a href="../../protocolP2P/FileList.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">DiscoverResponse.</span><code><span class="memberNameLink"><a href="../../protocolP2P/DiscoverResponse.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">DiscoverRequest.</span><code><span class="memberNameLink"><a href="../../protocolP2P/DiscoverRequest.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected byte[]</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">Denied.</span><code><span class="memberNameLink"><a href="../../protocolP2P/Denied.html#toPacket--">toPacket</a></span>()</code>
|
|
|
<div class="block">Returns a byte[] containing Packet with padding.</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/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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[] 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/Denied.html#Denied-java.lang.String-long-">Denied</a></span>(java.lang.String filename,
|
|
|
long offset)</code>
|
|
|
<div class="block">Constructor (typically used by server) with informations about file part to send as parameters.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/DiscoverRequest.html#DiscoverRequest-byte:A-">DiscoverRequest</a></span>(byte[] 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/DiscoverRequest.html#DiscoverRequest-java.lang.String-">DiscoverRequest</a></span>(java.lang.String filename)</code>
|
|
|
<div class="block">Constructor with filename (typically used by client).</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[] 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/DiscoverResponse.html#DiscoverResponse-java.lang.String-java.util.List-">DiscoverResponse</a></span>(java.lang.String filename,
|
|
|
java.util.List<<a href="../../tools/HostItem.html" title="class in tools">HostItem</a>> hostList)</code>
|
|
|
<div class="block">Constructor with filename (typically used by tracker).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/FileList.html#FileList-byte:A-">FileList</a></span>(byte[] 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/FileList.html#FileList-java.lang.String:A-">FileList</a></span>(java.lang.String[] fileList)</code>
|
|
|
<div class="block">Constructor (typically used by the server) with an ArrayList parameter containing
|
|
|
filenames.</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[] 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/FilePart.html#FilePart-java.lang.String-long-byte:A-">FilePart</a></span>(java.lang.String filename,
|
|
|
long offset,
|
|
|
byte[] partialContent)</code>
|
|
|
<div class="block">Constructor (typically used by server) with informations about file part to send as parameters.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/HashRequest.html#HashRequest-byte:A-">HashRequest</a></span>(byte[] 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/HashRequest.html#HashRequest-java.lang.String-protocolP2P.HashAlgorithm:A-">HashRequest</a></span>(java.lang.String filename,
|
|
|
<a href="../../protocolP2P/HashAlgorithm.html" title="enum in protocolP2P">HashAlgorithm</a>[] algoList)</code>
|
|
|
<div class="block">Constructor (typically used by the server) with a filename parameter.</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[] 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/HashResponse.html#HashResponse-java.lang.String-java.util.Map-">HashResponse</a></span>(java.lang.String filename,
|
|
|
java.util.Map<<a href="../../protocolP2P/HashAlgorithm.html" title="enum in protocolP2P">HashAlgorithm</a>,byte[]> hashes)</code>
|
|
|
<div class="block">Constructor (typically used by the server) with a filename parameter.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/LoadRequest.html#LoadRequest-byte:A-">LoadRequest</a></span>(byte[] 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/LoadRequest.html#LoadRequest-java.lang.String-long-long-tools.HostItem-">LoadRequest</a></span>(java.lang.String filename,
|
|
|
long offset,
|
|
|
long maxSizePartialContent,
|
|
|
<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem)</code>
|
|
|
<div class="block">Constructor (typically used by the client) with a filename parameter.</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[] 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/Payload.html#Payload-protocolP2P.RequestResponseCode-">Payload</a></span>(<a href="../../protocolP2P/RequestResponseCode.html" title="enum in protocolP2P">RequestResponseCode</a> requestResponseCode)</code>
|
|
|
<div class="block">Consructor used to create Payload with a payload size of zero using a RRCode.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#ProtocolP2PPacket-byte:A-">ProtocolP2PPacket</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Construct a packet from byte[], subclasses must overwrite this constructor.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacket.html#ProtocolP2PPacket-java.lang.Object-">ProtocolP2PPacket</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Receive a request, subclasses must overwrite this constructor.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#ProtocolP2PPacketTCP-byte:A-">ProtocolP2PPacketTCP</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Private constructor with packet as byte[] parameter (typically used when receiving Packet response).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketTCP.html#ProtocolP2PPacketTCP-java.lang.Object-">ProtocolP2PPacketTCP</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Receive Request (typically used from server).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#ProtocolP2PPacketUDP-byte:A-">ProtocolP2PPacketUDP</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Private constructor with packet as byte[] parameter (typically used when receiving Packet response).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/ProtocolP2PPacketUDP.html#ProtocolP2PPacketUDP-java.lang.Object-">ProtocolP2PPacketUDP</a></span>(java.lang.Object socket)</code>
|
|
|
<div class="block">Receive Request (typically used from server).</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/RatioRequest.html#RatioRequest-byte:A-">RatioRequest</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Constructor (typically used by tracker) with a byte[] parameter containing the Packet received.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/RatioRequest.html#RatioRequest-tools.HostItem-">RatioRequest</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem)</code>
|
|
|
<div class="block">Constructor with hostItem (typically used by client/server)</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[] 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/RatioResponse.html#RatioResponse-tools.HostItem-long-long-">RatioResponse</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem,
|
|
|
long totalUp,
|
|
|
long totalDown)</code>
|
|
|
<div class="block">Constructor with hostItem (typically used by tracker)</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/Register.html#Register-byte:A-">Register</a></span>(byte[] 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/Register.html#Register-tools.HostItem-">Register</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem)</code>
|
|
|
<div class="block">Constructor with hostItem (typically used by client)</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[] 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/SizeRequest.html#SizeRequest-java.lang.String-">SizeRequest</a></span>(java.lang.String filename)</code>
|
|
|
<div class="block">Constructor (typically used by the client) with a filename parameter.</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/SizeResponse.html#SizeResponse-byte:A-">SizeResponse</a></span>(byte[] 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/SizeResponse.html#SizeResponse-java.lang.String-long-">SizeResponse</a></span>(java.lang.String filename,
|
|
|
long totalSize)</code>
|
|
|
<div class="block">Constructor (typically used by server) with informations about file part to send as parameters.</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[] 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/Unregister.html#Unregister-tools.HostItem-">Unregister</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> hostItem)</code>
|
|
|
<div class="block">Constructor with hostItem (typically used by client)</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../protocolP2P/UpdateRatio.html#UpdateRatio-byte:A-">UpdateRatio</a></span>(byte[] packet)</code>
|
|
|
<div class="block">Constructor (typically used by tracker) 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-tools.HostItem-tools.HostItem-long-">UpdateRatio</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> client,
|
|
|
<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> server,
|
|
|
long dataSize)</code>
|
|
|
<div class="block">Constructor with hostItem (typically used by client)</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
<li class="blockList"><a name="serverP2P">
|
|
|
<!-- -->
|
|
|
</a>
|
|
|
<h3>Uses of <a href="../../localException/InternalError.html" title="class in localException">InternalError</a> in <a href="../../serverP2P/package-summary.html">serverP2P</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="../../serverP2P/package-summary.html">serverP2P</a> that throw <a href="../../localException/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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>protected double</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">RatioWatcher.</span><code><span class="memberNameLink"><a href="../../serverP2P/RatioWatcher.html#getPunishmentProbability-tools.HostItem-">getPunishmentProbability</a></span>(<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> application)</code>
|
|
|
<div class="block">Get Up-ratio for an applications</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</li>
|
|
|
<li class="blockList"><a name="tracker">
|
|
|
<!-- -->
|
|
|
</a>
|
|
|
<h3>Uses of <a href="../../localException/InternalError.html" title="class in localException">InternalError</a> in <a href="../../tracker/package-summary.html">tracker</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="../../tracker/package-summary.html">tracker</a> that throw <a href="../../localException/InternalError.html" title="class in localException">InternalError</a></span><span class="tabEnd"> </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>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleDiscover-T-">handleDiscover</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Discover request</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleListRequest-T-">handleListRequest</a></span>(T pd)</code>
|
|
|
<div class="block">Handle List request</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleListResponse-T-tools.HostItem-">handleListResponse</a></span>(T pd,
|
|
|
<a href="../../tools/HostItem.html" title="class in tools">HostItem</a> host)</code>
|
|
|
<div class="block">Handle List Responses</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleRatio-T-">handleRatio</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Ratio request</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleRegister-T-">handleRegister</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Registering</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleSizeRequest-T-">handleSizeRequest</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Size request</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="altColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleUnregister-T-">handleUnregister</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Unregistering</div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr class="rowColor">
|
|
|
<td class="colFirst"><code>protected <T extends <a href="../../protocolP2P/ProtocolP2PPacket.html" title="class in protocolP2P">ProtocolP2PPacket</a><?>><br>void</code></td>
|
|
|
<td class="colLast"><span class="typeNameLabel">TrackerManagement.</span><code><span class="memberNameLink"><a href="../../tracker/TrackerManagement.html#handleUpdateRatio-T-">handleUpdateRatio</a></span>(T pd)</code>
|
|
|
<div class="block">Handle Update Ratio</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/InternalError.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/InternalError.html" target="_top">Frames</a></li>
|
|
|
<li><a href="InternalError.html" target="_top">No Frames</a></li>
|
|
|
</ul>
|
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
|
<li><a href="../../allclasses-noframe.html">All 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>
|