Compare commits
No commits in common. "da7a3cb976d275d74632d7cddd266b1262a260c1" and "590b7c5d5d539e1f29d09c51d881a60c3f0b1305" have entirely different histories.
da7a3cb976
...
590b7c5d5d
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>All Classes</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>CandidateClient</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentationOptions</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetMarshalClient</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetMarshalClientWrapped</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetMarshalServer</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetMarshalServerWrapped</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.marshal</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.marshal</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.marshal Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>IAcknowledgement</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>IInternalCache</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>IPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>IStreamedPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>PacketException</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>PacketLoader</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
@ -18,7 +18,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":9,"i3":10,"i4":9,"i5":10,"i6":10,"i7":9,"i8":9,"i9":9,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":9,"i20":10,"i21":10,"i22":10};
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":9,"i4":10,"i5":9,"i6":9,"i7":9,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":10,"i16":10,"i17":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@ -144,13 +144,6 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#PacketLoader-com.captainalm.lib.stdcrypt.digest.DigestProvider-boolean-">PacketLoader</a></span>(com.captainalm.lib.stdcrypt.digest.DigestProvider provider,
|
||||
boolean oldPacketFormat)</code>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>
|
||||
and if the old packet format should be used.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
@ -167,36 +160,30 @@ extends java.lang.Object</pre>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#addMostSignificantFlag-int-">addMostSignificantFlag</a></span>(int value)</code>
|
||||
<div class="block">Adds the most significant flag to the given integer.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#areInvalidPacketsAllowed--">areInvalidPacketsAllowed</a></span>()</code>
|
||||
<div class="block">Gets whether invalid packets are allowed to be read and written.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#getByteArrayFromInteger-int-">getByteArrayFromInteger</a></span>(int i)</code>
|
||||
<div class="block">Saves an Integer into a byte array.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>com.captainalm.lib.stdcrypt.digest.DigestProvider</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#getHashProvider--">getHashProvider</a></span>()</code>
|
||||
<div class="block">This field provides the <code>DigestProvider</code> to use for the payload of the packets on the trailer.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#getIntegerFromByteArray-byte:A-">getIntegerFromByteArray</a></span>(byte[] bytes)</code>
|
||||
<div class="block">Loads an Integer from a byte array.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#getPacketSize-com.captainalm.lib.calmnet.packet.IPacket-boolean-boolean-">getPacketSize</a></span>(<a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packet,
|
||||
boolean includeInformation,
|
||||
@ -204,38 +191,26 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Gets the total size of a written packet in bytes.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#isOldPacketFormatInUse--">isOldPacketFormatInUse</a></span>()</code>
|
||||
<div class="block">Is the old packet format in use (No explicit hash indication nor length).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readArrayFromInputStream-java.io.InputStream-int-">readArrayFromInputStream</a></span>(java.io.InputStream inputStream,
|
||||
int length)</code>
|
||||
<div class="block">Reads in a byte array of a specified length from an <code>InputStream</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static byte</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readByteFromInputStream-java.io.InputStream-">readByteFromInputStream</a></span>(java.io.InputStream inputStream)</code>
|
||||
<div class="block">Reads a byte from an <code>InputStream</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readByteIntegerFromInputStream-java.io.InputStream-">readByteIntegerFromInputStream</a></span>(java.io.InputStream inputStream)</code>
|
||||
<div class="block">Reads a byte (In int form) from an <code>InputStream</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readInteger-java.io.InputStream-">readInteger</a></span>(java.io.InputStream inputStream)</code>
|
||||
<div class="block">Reads an Integer from an <code>InputStream</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readPacket-java.io.InputStream-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">readPacket</a></span>(java.io.InputStream inputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
||||
@ -243,7 +218,7 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Reads a <a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> from an input stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readPacketNoDigest-byte:A-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">readPacketNoDigest</a></span>(byte[] arrayIn,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
||||
@ -251,7 +226,7 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Reads a <a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> from a byte array (No digest support).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readPacketNoDigest-java.io.InputStream-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">readPacketNoDigest</a></span>(java.io.InputStream inputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
||||
@ -259,7 +234,7 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Reads a <a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> from an input stream (No digest support).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readStreamedPacket-java.io.InputStream-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">readStreamedPacket</a></span>(java.io.InputStream inputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
||||
@ -267,7 +242,7 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Reads a <a href="../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a> from an input stream.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readStreamedPacketNoDigest-java.io.InputStream-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">readStreamedPacketNoDigest</a></span>(java.io.InputStream inputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
||||
@ -275,32 +250,20 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Reads a <a href="../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a> from an input stream (No digest support).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#setAllowInvalidPackets-boolean-">setAllowInvalidPackets</a></span>(boolean allowInvalidPackets)</code>
|
||||
<div class="block">This sets whether invalid packets are allowed to be read and written.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#setOldPacketFormatUsage-boolean-">setOldPacketFormatUsage</a></span>(boolean useOldFormat)</code>
|
||||
<div class="block">Sets if the old packet format should be used (No explicit hash indication nor length).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#subtractMostSignificantFlag-int-">subtractMostSignificantFlag</a></span>(int value)</code>
|
||||
<div class="block">Subtracts the most significant flag from the given integer.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#writeInteger-java.io.OutputStream-int-">writeInteger</a></span>(java.io.OutputStream outputStream,
|
||||
int i)</code>
|
||||
<div class="block">Writes an Integer to the <code>OutputStream</code> using 4 bytes.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#writePacket-java.io.OutputStream-com.captainalm.lib.calmnet.packet.IPacket-boolean-">writePacket</a></span>(java.io.OutputStream outputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packet,
|
||||
@ -308,14 +271,14 @@ extends java.lang.Object</pre>
|
||||
<div class="block">Writes a <a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> to an output stream (No digest support).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>byte[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#writePacketNoDigest-com.captainalm.lib.calmnet.packet.IPacket-boolean-">writePacketNoDigest</a></span>(<a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packet,
|
||||
boolean writeInformation)</code>
|
||||
<div class="block">Returns a <a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> to a byte array (No digest support).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#writePacketNoDigest-java.io.OutputStream-com.captainalm.lib.calmnet.packet.IPacket-boolean-">writePacketNoDigest</a></span>(java.io.OutputStream outputStream,
|
||||
<a href="../../../../../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packet,
|
||||
@ -359,13 +322,13 @@ extends java.lang.Object</pre>
|
||||
<a name="PacketLoader-com.captainalm.lib.stdcrypt.digest.DigestProvider-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>PacketLoader</h4>
|
||||
<pre>public PacketLoader(com.captainalm.lib.stdcrypt.digest.DigestProvider provider)</pre>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>.
|
||||
If using a digest provider, make sure all endpoints use the same algorithm;
|
||||
if null, no trailer is created;
|
||||
if null, no trailer is created or expected;
|
||||
this is ignored if saving / loading packets from byte arrays.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -373,26 +336,6 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="PacketLoader-com.captainalm.lib.stdcrypt.digest.DigestProvider-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>PacketLoader</h4>
|
||||
<pre>public PacketLoader(com.captainalm.lib.stdcrypt.digest.DigestProvider provider,
|
||||
boolean oldPacketFormat)</pre>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>
|
||||
and if the old packet format should be used.
|
||||
If using a digest provider, make sure all endpoints use the same algorithm;
|
||||
if null, no trailer is created;
|
||||
this is ignored if saving / loading packets from byte arrays.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>provider</code> - The digest provider or null.</dd>
|
||||
<dd><code>oldPacketFormat</code> - If the old packet format should be used (No explicit hash indication nor length).</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
@ -443,66 +386,6 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isOldPacketFormatInUse--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isOldPacketFormatInUse</h4>
|
||||
<pre>public boolean isOldPacketFormatInUse()</pre>
|
||||
<div class="block">Is the old packet format in use (No explicit hash indication nor length).</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>If the old packet format is in use.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setOldPacketFormatUsage-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setOldPacketFormatUsage</h4>
|
||||
<pre>public void setOldPacketFormatUsage(boolean useOldFormat)</pre>
|
||||
<div class="block">Sets if the old packet format should be used (No explicit hash indication nor length).</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>useOldFormat</code> - If the old packet format should be used.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addMostSignificantFlag-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addMostSignificantFlag</h4>
|
||||
<pre>public static int addMostSignificantFlag(int value)</pre>
|
||||
<div class="block">Adds the most significant flag to the given integer.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>value</code> - The integer to add the flag to.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The integer with the flag added.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="subtractMostSignificantFlag-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>subtractMostSignificantFlag</h4>
|
||||
<pre>public static int subtractMostSignificantFlag(int value)</pre>
|
||||
<div class="block">Subtracts the most significant flag from the given integer.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>value</code> - The integer to subtract the flag from.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The integer with the flag subtracted.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readPacketNoDigest-byte:A-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -656,8 +539,6 @@ extends java.lang.Object</pre>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>packet</code> - The packet to save.</dd>
|
||||
<dd><code>writeInformation</code> - Write the <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html" title="class in com.captainalm.lib.calmnet.packet"><code>PacketProtocolInformation</code></a> to the beginning of the array.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The written packet data as a byte array.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.NullPointerException</code> - A parameter is null.</dd>
|
||||
<dd><code><a href="../../../../../com/captainalm/lib/calmnet/packet/PacketException.html" title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - An Exception has occurred.</dd>
|
||||
@ -749,6 +630,7 @@ extends java.lang.Object</pre>
|
||||
<dd><code>i</code> - The integer to store.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.NullPointerException</code> - outputStream is null.</dd>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - i is less than 0.</dd>
|
||||
<dd><code>java.io.IOException</code> - An I/O error has occurred.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
@ -761,8 +643,7 @@ extends java.lang.Object</pre>
|
||||
<h4>readByteFromInputStream</h4>
|
||||
<pre>public static byte readByteFromInputStream(java.io.InputStream inputStream)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Reads a byte from an <code>InputStream</code>.
|
||||
See also: <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readByteIntegerFromInputStream-java.io.InputStream-"><code>readByteIntegerFromInputStream(InputStream)</code></a>.</div>
|
||||
<div class="block">Reads a byte from an <code>InputStream</code>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputStream</code> - The input stream to read from.</dd>
|
||||
@ -774,27 +655,6 @@ extends java.lang.Object</pre>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readByteIntegerFromInputStream-java.io.InputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>readByteIntegerFromInputStream</h4>
|
||||
<pre>public static int readByteIntegerFromInputStream(java.io.InputStream inputStream)
|
||||
throws java.io.IOException</pre>
|
||||
<div class="block">Reads a byte (In int form) from an <code>InputStream</code>.
|
||||
See also: <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html#readByteFromInputStream-java.io.InputStream-"><code>readByteFromInputStream(InputStream)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputStream</code> - The input stream to read from.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The byte read (As an int).</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.NullPointerException</code> - inputStream is null.</dd>
|
||||
<dd><code>java.io.IOException</code> - An I/O error has occurred or end of stream has been reached.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readArrayFromInputStream-java.io.InputStream-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@ -831,6 +691,8 @@ extends java.lang.Object</pre>
|
||||
<dd><code>i</code> - The integer to save.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The byte array.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.IllegalArgumentException</code> - i is less than 0.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>PacketProtocolInformation</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>Base64Packet</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>EncryptedPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
@ -394,7 +394,6 @@ implements <a href="../../../../../../com/captainalm/lib/calmnet/packet/IStreame
|
||||
<dd><code>factory</code> - The packet factory to use.</dd>
|
||||
<dd><code>loader</code> - The Packet Loader to use.</dd>
|
||||
<dd><code>cipherFactory</code> - The cipher factory to use.</dd>
|
||||
<dd><code>packet</code> - The packet to use.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.NullPointerException</code> - factory, loader or cipherFactory is null.</dd>
|
||||
</dl>
|
||||
@ -418,7 +417,6 @@ implements <a href="../../../../../../com/captainalm/lib/calmnet/packet/IStreame
|
||||
<dd><code>factory</code> - The packet factory to use.</dd>
|
||||
<dd><code>loader</code> - The Packet Loader to use.</dd>
|
||||
<dd><code>cipherFactory</code> - The cipher factory to use.</dd>
|
||||
<dd><code>packet</code> - The packet to use.</dd>
|
||||
<dd><code>useCache</code> - If the encrypted data should be cached.</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code>java.lang.NullPointerException</code> - factory, loader or cipherFactory is null.</dd>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkEncryptionCipherPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkEncryptionUpgradePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkIdentifierPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkSSLUpgradePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.core</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.core</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.core Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>CALMNETPacketFactory</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>CALMNETPacketFactoryWithPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>IPacketFactory</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.factory</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.factory</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.factory Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentAllocatePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentAllocationPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentMessagePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentMessageResponsePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentPIDAKNPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentPIDMSGPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:20 BST 2023 -->
|
||||
<title>FragmentPIDPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentReceiver</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
@ -266,25 +266,25 @@ extends java.lang.Object</pre>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setResponseVerification-boolean-">setResponseVerification</a></span>(boolean state)</code>
|
||||
<div class="block">Sets whether responses should be verified by sending back the payload to be verified.</div>
|
||||
<div class="block">Sets whether responses should be verified.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setSentDataWillBeAllVerified-boolean-">setSentDataWillBeAllVerified</a></span>(boolean state)</code>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#shouldSentDataBeAllVerified--">shouldSentDataBeAllVerified</a></span>()</code>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#shouldVerifyResponses--">shouldVerifyResponses</a></span>()</code>
|
||||
<div class="block">Gets whether responses should be verified by sending back the payload to be verified.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
@ -587,10 +587,10 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>shouldVerifyResponses</h4>
|
||||
<pre>public boolean shouldVerifyResponses()</pre>
|
||||
<div class="block">Gets whether responses should be verified by sending back the payload to be verified.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Should responses be verified by sending back the payload.</dd>
|
||||
<dd>Should responses be verified.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -601,11 +601,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>setResponseVerification</h4>
|
||||
<pre>public void setResponseVerification(boolean state)</pre>
|
||||
<div class="block">Sets whether responses should be verified by sending back the payload to be verified.
|
||||
<div class="block">Sets whether responses should be verified.
|
||||
If set to false, <a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setSentDataWillBeAllVerified-boolean-"><code>setSentDataWillBeAllVerified(boolean)</code></a> will be set to false too.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>state</code> - If responses should be verified by sending back the payload.</dd>
|
||||
<dd><code>state</code> - If responses should be verified.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -616,10 +616,10 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>shouldSentDataBeAllVerified</h4>
|
||||
<pre>public boolean shouldSentDataBeAllVerified()</pre>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>If all sent fragments are expected to be verified.</dd>
|
||||
<dd>If all sent fragments will be verified to be equal.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -630,11 +630,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>setSentDataWillBeAllVerified</h4>
|
||||
<pre>public void setSentDataWillBeAllVerified(boolean state)</pre>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.
|
||||
Requires <a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setResponseVerification-boolean-"><code>setResponseVerification(boolean)</code></a> set to true.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>state</code> - If all sent fragments are expected to be verified.</dd>
|
||||
<dd><code>state</code> - If all sent fragments will be verified to be equal.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentRetrySendPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentSendCompletePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentSendStopPacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentSendVerifyCompletePacket</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>FragmentSender</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
@ -246,13 +246,13 @@ extends java.lang.Object</pre>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setResponseVerification-boolean-">setResponseVerification</a></span>(boolean state)</code>
|
||||
<div class="block">Sets whether responses should be verified by checking if they are equal.</div>
|
||||
<div class="block">Sets whether responses should be verified.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setSentDataWillBeAllVerified-boolean-">setSentDataWillBeAllVerified</a></span>(boolean state)</code>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
@ -264,13 +264,13 @@ extends java.lang.Object</pre>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--">shouldSentDataBeAllVerified</a></span>()</code>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldVerifyResponses--">shouldVerifyResponses</a></span>()</code>
|
||||
<div class="block">Gets whether responses should be verified by checking if they are equal.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
@ -573,7 +573,7 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>shouldVerifyResponses</h4>
|
||||
<pre>public boolean shouldVerifyResponses()</pre>
|
||||
<div class="block">Gets whether responses should be verified by checking if they are equal.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Should responses be verified.</dd>
|
||||
@ -587,7 +587,7 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>setResponseVerification</h4>
|
||||
<pre>public void setResponseVerification(boolean state)</pre>
|
||||
<div class="block">Sets whether responses should be verified by checking if they are equal.
|
||||
<div class="block">Sets whether responses should be verified.
|
||||
If set to false, <a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setSentDataWillBeAllVerified-boolean-"><code>setSentDataWillBeAllVerified(boolean)</code></a> will be set to false too.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@ -602,10 +602,10 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>shouldSentDataBeAllVerified</h4>
|
||||
<pre>public boolean shouldSentDataBeAllVerified()</pre>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>If all sent fragments will be verified via resend checks for equality.</dd>
|
||||
<dd>If all sent fragments will be verified to be equal.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@ -616,11 +616,11 @@ extends java.lang.Object</pre>
|
||||
<li class="blockList">
|
||||
<h4>setSentDataWillBeAllVerified</h4>
|
||||
<pre>public void setSentDataWillBeAllVerified(boolean state)</pre>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.
|
||||
Requires <a href="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setResponseVerification-boolean-"><code>setResponseVerification(boolean)</code></a> set to true.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>state</code> - If all sent fragments will be verified via resend checks for equality.</dd>
|
||||
<dd><code>state</code> - If all sent fragments will be verified to be equal.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.fragment</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.fragment</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet.fragment Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.packet Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>SSLUtilities</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>SSLUtilityException</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.ssl</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.ssl</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.ssl Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>LengthClampedInputStream</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkInputStream</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>NetworkOutputStream</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.stream</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.stream</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>com.captainalm.lib.calmnet.stream Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>API Help</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>A-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
@ -77,10 +77,6 @@
|
||||
<dd>
|
||||
<div class="block">Whether the candidate should be accepted.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#addMostSignificantFlag-int-">addMostSignificantFlag(int)</a></span> - Static method in class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Adds the most significant flag to the given integer.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/marshal/CandidateClient.html#address">address</a></span> - Variable in class com.captainalm.lib.calmnet.marshal.<a href="../com/captainalm/lib/calmnet/marshal/CandidateClient.html" title="class in com.captainalm.lib.calmnet.marshal">CandidateClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">The remote address of the candidate.</div>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>L-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>M-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>N-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>O-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>P-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
@ -105,11 +105,6 @@
|
||||
<dd>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#PacketLoader-com.captainalm.lib.stdcrypt.digest.DigestProvider-boolean-">PacketLoader(DigestProvider, boolean)</a></span> - Constructor for class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Constructs a new Packet loader instance with the specified <code>DigestProvider</code>
|
||||
and if the old packet format should be used.</div>
|
||||
</dd>
|
||||
<dt><a href="../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html" title="class in com.captainalm.lib.calmnet.packet"><span class="typeNameLink">PacketProtocolInformation</span></a> - Class in <a href="../com/captainalm/lib/calmnet/packet/package-summary.html">com.captainalm.lib.calmnet.packet</a></dt>
|
||||
<dd>
|
||||
<div class="block">This class provides the packet protocol information for <a href="../com/captainalm/lib/calmnet/packet/IPacket.html" title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a>.</div>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>R-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
@ -89,10 +89,6 @@
|
||||
<dd>
|
||||
<div class="block">Reads a byte from an <code>InputStream</code>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#readByteIntegerFromInputStream-java.io.InputStream-">readByteIntegerFromInputStream(InputStream)</a></span> - Static method in class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Reads a byte (In int form) from an <code>InputStream</code>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/core/Base64Packet.html#readData-java.io.OutputStream-">readData(OutputStream)</a></span> - Method in class com.captainalm.lib.calmnet.packet.core.<a href="../com/captainalm/lib/calmnet/packet/core/Base64Packet.html" title="class in com.captainalm.lib.calmnet.packet.core">Base64Packet</a></dt>
|
||||
<dd>
|
||||
<div class="block">Reads payload data to an <code>OutputStream</code>.</div>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>S-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
@ -250,10 +250,6 @@
|
||||
<div class="block">Sets the number of <a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#sendPacket--"><code>FragmentReceiver.sendPacket()</code></a> calls, that return null, to a registry entry are made before
|
||||
the <a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSendCompletePacket.html" title="class in com.captainalm.lib.calmnet.packet.fragment"><code>FragmentSendCompletePacket</code></a> or <a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentRetrySendPacket.html" title="class in com.captainalm.lib.calmnet.packet.fragment"><code>FragmentRetrySendPacket</code></a> packets are sent.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#setOldPacketFormatUsage-boolean-">setOldPacketFormatUsage(boolean)</a></span> - Method in class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Sets if the old packet format should be used (No explicit hash indication nor length).</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setOpenedConsumer-java.util.function.Consumer-">setOpenedConsumer(Consumer<NetMarshalClient>)</a></span> - Method in class com.captainalm.lib.calmnet.marshal.<a href="../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html" title="class in com.captainalm.lib.calmnet.marshal">NetMarshalServer</a></dt>
|
||||
<dd>
|
||||
<div class="block">Sets the <code>Consumer</code> opened consumer.</div>
|
||||
@ -312,19 +308,19 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setResponseVerification-boolean-">setResponseVerification(boolean)</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentReceiver</a></dt>
|
||||
<dd>
|
||||
<div class="block">Sets whether responses should be verified by sending back the payload to be verified.</div>
|
||||
<div class="block">Sets whether responses should be verified.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setResponseVerification-boolean-">setResponseVerification(boolean)</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentSender</a></dt>
|
||||
<dd>
|
||||
<div class="block">Sets whether responses should be verified by checking if they are equal.</div>
|
||||
<div class="block">Sets whether responses should be verified.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#setSentDataWillBeAllVerified-boolean-">setSentDataWillBeAllVerified(boolean)</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentReceiver</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setSentDataWillBeAllVerified-boolean-">setSentDataWillBeAllVerified(boolean)</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentSender</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/stream/NetworkInputStream.html#setSocket-java.net.Socket-">setSocket(Socket)</a></span> - Method in class com.captainalm.lib.calmnet.stream.<a href="../com/captainalm/lib/calmnet/stream/NetworkInputStream.html" title="class in com.captainalm.lib.calmnet.stream">NetworkInputStream</a></dt>
|
||||
<dd>
|
||||
@ -369,19 +365,19 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#shouldSentDataBeAllVerified--">shouldSentDataBeAllVerified()</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentReceiver</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether all sent fragments are expected to be verified.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--">shouldSentDataBeAllVerified()</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentSender</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether all sent fragments are verified via resend checks for equality.</div>
|
||||
<div class="block">Gets whether all sent fragments are verified to be equal.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html#shouldVerifyResponses--">shouldVerifyResponses()</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentReceiver.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentReceiver</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether responses should be verified by sending back the payload to be verified.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldVerifyResponses--">shouldVerifyResponses()</a></span> - Method in class com.captainalm.lib.calmnet.packet.fragment.<a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html" title="class in com.captainalm.lib.calmnet.packet.fragment">FragmentSender</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets whether responses should be verified by checking if they are equal.</div>
|
||||
<div class="block">Gets whether responses should be verified.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html#sslUpgradeClientSide-javax.net.ssl.SSLContext-java.lang.String-">sslUpgradeClientSide(SSLContext, String)</a></span> - Method in class com.captainalm.lib.calmnet.marshal.<a href="../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html" title="class in com.captainalm.lib.calmnet.marshal">NetMarshalClient</a></dt>
|
||||
<dd>
|
||||
@ -433,10 +429,6 @@
|
||||
<dd>
|
||||
<div class="block">Stops data verification for the specified Packet ID when <a href="../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--"><code>FragmentSender.shouldSentDataBeAllVerified()</code></a> is true.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#subtractMostSignificantFlag-int-">subtractMostSignificantFlag(int)</a></span> - Static method in class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Subtracts the most significant flag from the given integer.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="index-1.html">A</a> <a href="index-2.html">B</a> <a href="index-3.html">C</a> <a href="index-4.html">D</a> <a href="index-5.html">E</a> <a href="index-6.html">F</a> <a href="index-7.html">G</a> <a href="index-8.html">H</a> <a href="index-9.html">I</a> <a href="index-10.html">L</a> <a href="index-11.html">M</a> <a href="index-12.html">N</a> <a href="index-13.html">O</a> <a href="index-14.html">P</a> <a href="index-15.html">R</a> <a href="index-16.html">S</a> <a href="index-17.html">U</a> <a href="index-18.html">V</a> <a href="index-19.html">W</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>U-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>V-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>W-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>B-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>C-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>D-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>E-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>F-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>G-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>H-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>I-Index</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../script.js"></script>
|
||||
</head>
|
||||
@ -130,10 +130,6 @@
|
||||
<dd>
|
||||
<div class="block">Gets if the internal cache is used.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html#isOldPacketFormatInUse--">isOldPacketFormatInUse()</a></span> - Method in class com.captainalm.lib.calmnet.packet.<a href="../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></dt>
|
||||
<dd>
|
||||
<div class="block">Is the old packet format in use (No explicit hash indication nor length).</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html#isRunning--">isRunning()</a></span> - Method in class com.captainalm.lib.calmnet.marshal.<a href="../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html" title="class in com.captainalm.lib.calmnet.marshal">NetMarshalClient</a></dt>
|
||||
<dd>
|
||||
<div class="block">Gets if the marshal is running.</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<script type="text/javascript">
|
||||
tmpTargetPage = "" + window.location.search;
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:21 BST 2023 -->
|
||||
<title>Overview List</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Overview</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -2,9 +2,9 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:50 BST 2023 -->
|
||||
<!-- Generated by javadoc (1.8.0_262) on Tue May 23 15:22:22 BST 2023 -->
|
||||
<title>Serialized Form</title>
|
||||
<meta name="date" content="2023-06-11">
|
||||
<meta name="date" content="2023-05-23">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
|
@ -18,7 +18,7 @@ public final class FragmentationOptions {
|
||||
* See:
|
||||
* {@link FragmentSender#setSplitSize(int)}
|
||||
*/
|
||||
public int fragmentationSplitSize = 448;
|
||||
public int fragmentationSplitSize = 496;
|
||||
/**
|
||||
* See:
|
||||
* {@link FragmentReceiver#setNumberOfEmptySendsTillForcedCompleteOrResend(int)}
|
||||
|
@ -18,7 +18,6 @@ import java.net.InetAddress;
|
||||
import java.net.MulticastSocket;
|
||||
import java.net.Socket;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedList;
|
||||
import java.util.Queue;
|
||||
@ -101,27 +100,21 @@ public class NetMarshalClient implements Closeable {
|
||||
fragmentSMM = new HashMap<>();
|
||||
fragmentMonitorThread = new Thread(() -> {
|
||||
int ageCheckTime = this.fragmentationOptions.maximumFragmentAge - 1;
|
||||
ArrayList<Integer> idsToRemove = new ArrayList<>();
|
||||
while (running) {
|
||||
int id = -1;
|
||||
synchronized (this.fragmentationOptions) {
|
||||
for (int c : fragmentRMM.keySet()) {
|
||||
if (!fragmentRMM.get(c).plusSeconds(ageCheckTime).isAfter(LocalDateTime.now()))
|
||||
idsToRemove.add(c);
|
||||
}
|
||||
for (int c : idsToRemove) {
|
||||
fragmentRMM.remove(c);
|
||||
if (!fragmentRMM.get(c).plusSeconds(ageCheckTime).isAfter(LocalDateTime.now())) {
|
||||
fragmentRMM.remove(id);
|
||||
fragmentReceiver.deletePacketFromRegistry(c);
|
||||
}
|
||||
idsToRemove.clear();
|
||||
for (int c : fragmentSMM.keySet()) {
|
||||
if (!fragmentSMM.get(c).plusSeconds(ageCheckTime).isAfter(LocalDateTime.now()))
|
||||
idsToRemove.add(c);
|
||||
}
|
||||
for (int c : idsToRemove) {
|
||||
fragmentSMM.remove(c);
|
||||
for (int c : fragmentSMM.keySet()) {
|
||||
if (!fragmentSMM.get(c).plusSeconds(ageCheckTime).isAfter(LocalDateTime.now())) {
|
||||
fragmentSMM.remove(id);
|
||||
fragmentSender.deletePacketFromRegistry(c);
|
||||
}
|
||||
idsToRemove.clear();
|
||||
}
|
||||
}
|
||||
try {
|
||||
Thread.sleep(this.fragmentationOptions.maximumFragmentAge);
|
||||
@ -134,8 +127,8 @@ public class NetMarshalClient implements Closeable {
|
||||
fragmentSMM.clear();
|
||||
}, "thread_frag_monitor_" + remoteAddress.getHostAddress() + ":" + remotePort);
|
||||
fragmentFinishReceiveMonitorThread = new Thread(() -> {
|
||||
int id = -1;
|
||||
while (running) {
|
||||
int id = -1;
|
||||
try {
|
||||
while ((id = fragmentReceiver.getLastIDFinished()) != -1) synchronized (this.fragmentationOptions) {
|
||||
fragmentRMM.remove(id);
|
||||
@ -146,8 +139,8 @@ public class NetMarshalClient implements Closeable {
|
||||
fragmentReceiver.clearLastIDFinished();
|
||||
}, "thread_frag_fin_recv_monitor_" + remoteAddress.getHostAddress() + ":" + remotePort);
|
||||
fragmentFinishSendMonitorThread = new Thread(() -> {
|
||||
int id = -1;
|
||||
while (running) {
|
||||
int id = -1;
|
||||
try {
|
||||
while ((id = fragmentSender.getLastIDFinished()) != -1) synchronized (this.fragmentationOptions) {
|
||||
fragmentSMM.remove(id);
|
||||
|
@ -23,41 +23,24 @@ import static com.captainalm.lib.calmnet.packet.PacketProtocolInformation.savePa
|
||||
public class PacketLoader {
|
||||
protected boolean allowInvalidPackets;
|
||||
|
||||
protected boolean oldPacketFormat;
|
||||
|
||||
/**
|
||||
* Constructs a new Packet loader instance.
|
||||
* If using a digest provider, use {@link #PacketLoader(DigestProvider)}
|
||||
*/
|
||||
public PacketLoader() {
|
||||
this(null, false);
|
||||
this(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new Packet loader instance with the specified {@link DigestProvider}.
|
||||
* If using a digest provider, make sure all endpoints use the same algorithm;
|
||||
* if null, no trailer is created;
|
||||
* if null, no trailer is created or expected;
|
||||
* this is ignored if saving / loading packets from byte arrays.
|
||||
*
|
||||
* @param provider The digest provider or null.
|
||||
*/
|
||||
public PacketLoader(DigestProvider provider) {
|
||||
this(provider, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new Packet loader instance with the specified {@link DigestProvider}
|
||||
* and if the old packet format should be used.
|
||||
* If using a digest provider, make sure all endpoints use the same algorithm;
|
||||
* if null, no trailer is created;
|
||||
* this is ignored if saving / loading packets from byte arrays.
|
||||
*
|
||||
* @param provider The digest provider or null.
|
||||
* @param oldPacketFormat If the old packet format should be used (No explicit hash indication nor length).
|
||||
*/
|
||||
public PacketLoader(DigestProvider provider, boolean oldPacketFormat) {
|
||||
hashProvider = provider;
|
||||
this.oldPacketFormat = oldPacketFormat;
|
||||
}
|
||||
|
||||
protected DigestProvider hashProvider;
|
||||
@ -89,51 +72,10 @@ public class PacketLoader {
|
||||
this.allowInvalidPackets = allowInvalidPackets;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the old packet format in use (No explicit hash indication nor length).
|
||||
*
|
||||
* @return If the old packet format is in use.
|
||||
*/
|
||||
public boolean isOldPacketFormatInUse() {
|
||||
return oldPacketFormat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets if the old packet format should be used (No explicit hash indication nor length).
|
||||
* @param useOldFormat If the old packet format should be used.
|
||||
*/
|
||||
public void setOldPacketFormatUsage(boolean useOldFormat) {
|
||||
oldPacketFormat = useOldFormat;
|
||||
}
|
||||
|
||||
protected boolean isPacketInvalid(IPacket packetIn) {
|
||||
return (packetIn == null || !packetIn.isValid()) && !allowInvalidPackets;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the most significant flag to the given integer.
|
||||
*
|
||||
* @param value The integer to add the flag to.
|
||||
* @return The integer with the flag added.
|
||||
*/
|
||||
public static int addMostSignificantFlag(int value) {
|
||||
value += 1;
|
||||
value += Integer.MAX_VALUE;
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subtracts the most significant flag from the given integer.
|
||||
*
|
||||
* @param value The integer to subtract the flag from.
|
||||
* @return The integer with the flag subtracted.
|
||||
*/
|
||||
public static int subtractMostSignificantFlag(int value) {
|
||||
value -= 1;
|
||||
value -= Integer.MAX_VALUE;
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads a {@link IPacket} from a byte array (No digest support).
|
||||
* If the information parameter is null, this is obtained as part of the reading.
|
||||
@ -160,9 +102,8 @@ public class PacketLoader {
|
||||
if (toret != null) {
|
||||
if (arrayIn.length < 6) throw new PacketException("arrayIn does not have a length header.");
|
||||
int length = (arrayIn[2] & 0xff) * 16777216 + (arrayIn[3] & 0xff) * 65536 + (arrayIn[4] & 0xff) * 256 + (arrayIn[5] & 0xff);
|
||||
if (length < 0) length = subtractMostSignificantFlag(length);
|
||||
byte[] loadArray = new byte[length];
|
||||
System.arraycopy(arrayIn, 6, loadArray, 0, Math.min(arrayIn.length - 6, length));
|
||||
System.arraycopy(arrayIn, 6, loadArray, 0, arrayIn.length - 6);
|
||||
toret.loadPayload(loadArray);
|
||||
if (isPacketInvalid(toret)) toret = null;
|
||||
}
|
||||
@ -190,23 +131,9 @@ public class PacketLoader {
|
||||
IPacket toret = factory.getPacket(information);
|
||||
|
||||
if (toret != null) {
|
||||
int length = readInteger(inputStream);
|
||||
boolean hasHash = length < 0;
|
||||
if (hasHash) length = subtractMostSignificantFlag(length);
|
||||
InputStream lIS = (hashProvider == null || !hasHash) ? inputStream : hashProvider.getDigestInputStream(inputStream);
|
||||
byte[] loadArray = readArrayFromInputStream(lIS, length);
|
||||
int hashLength;
|
||||
if (hasHash) {
|
||||
hashLength = readByteIntegerFromInputStream(inputStream);
|
||||
if (hashProvider != null && hashProvider.getLength() != hashLength) {
|
||||
readArrayFromInputStream(inputStream, hashLength);
|
||||
return null;
|
||||
}
|
||||
} else hashLength = 0;
|
||||
if ((!hasHash && !oldPacketFormat) || hashProvider == null) {
|
||||
readArrayFromInputStream(inputStream, hashLength);
|
||||
toret.loadPayload(loadArray);
|
||||
} else if (DigestComparer.compareDigests(inputStream, ((DigestInputStream) lIS).getMessageDigest().digest())) toret.loadPayload(loadArray);
|
||||
InputStream lIS = (hashProvider == null) ? inputStream : hashProvider.getDigestInputStream(inputStream);
|
||||
byte[] loadArray = readArrayFromInputStream(lIS, readInteger(inputStream));
|
||||
if (hashProvider == null || DigestComparer.compareDigests(inputStream, ((DigestInputStream) lIS).getMessageDigest().digest())) toret.loadPayload(loadArray);
|
||||
if (isPacketInvalid(toret)) toret = null;
|
||||
}
|
||||
return toret;
|
||||
@ -234,9 +161,7 @@ public class PacketLoader {
|
||||
IPacket toret = factory.getPacket(information);
|
||||
|
||||
if (toret != null) {
|
||||
int length = readInteger(inputStream);
|
||||
if (length < 0) length = subtractMostSignificantFlag(length);
|
||||
byte[] loadArray = readArrayFromInputStream(inputStream, length);
|
||||
byte[] loadArray = readArrayFromInputStream(inputStream, readInteger(inputStream));
|
||||
toret.loadPayload(loadArray);
|
||||
if (isPacketInvalid(toret)) toret = null;
|
||||
}
|
||||
@ -266,21 +191,9 @@ public class PacketLoader {
|
||||
|
||||
if (toret instanceof IStreamedPacket) {
|
||||
int length = readInteger(inputStream);
|
||||
boolean hasHash = length < 0;
|
||||
if (hasHash) length = subtractMostSignificantFlag(length);
|
||||
InputStream lIS = (hashProvider == null || !hasHash) ? inputStream : hashProvider.getDigestInputStream(inputStream);
|
||||
InputStream lIS = (hashProvider == null) ? inputStream : hashProvider.getDigestInputStream(inputStream);
|
||||
((IStreamedPacket) toret).writeData(lIS, length);
|
||||
int hashLength;
|
||||
if (hasHash) {
|
||||
hashLength = readByteIntegerFromInputStream(inputStream);
|
||||
if (hashProvider != null && hashProvider.getLength() != hashLength) {
|
||||
readArrayFromInputStream(inputStream, hashLength);
|
||||
return null;
|
||||
}
|
||||
} else hashLength = 0;
|
||||
if ((hasHash || oldPacketFormat) && hashProvider != null) {
|
||||
if (!DigestComparer.compareDigests(inputStream, ((DigestInputStream) lIS).getMessageDigest().digest())) toret = null;
|
||||
} else readArrayFromInputStream(inputStream, hashLength);
|
||||
if (hashProvider != null && !DigestComparer.compareDigests(inputStream, ((DigestInputStream) lIS).getMessageDigest().digest())) toret = null;
|
||||
if (isPacketInvalid(toret)) toret = null;
|
||||
} else if (toret != null) {
|
||||
return readPacket(inputStream, factory, information);
|
||||
@ -312,7 +225,6 @@ public class PacketLoader {
|
||||
|
||||
if (toret instanceof IStreamedPacket) {
|
||||
int length = readInteger(inputStream);
|
||||
if (length < 0) length = subtractMostSignificantFlag(length);
|
||||
((IStreamedPacket) toret).writeData(inputStream, length);
|
||||
if (isPacketInvalid(toret)) toret = null;
|
||||
} else if (toret != null) {
|
||||
@ -327,7 +239,6 @@ public class PacketLoader {
|
||||
*
|
||||
* @param packet The packet to save.
|
||||
* @param writeInformation Write the {@link PacketProtocolInformation} to the beginning of the array.
|
||||
* @return The written packet data as a byte array.
|
||||
* @throws NullPointerException A parameter is null.
|
||||
* @throws PacketException An Exception has occurred.
|
||||
*/
|
||||
@ -375,25 +286,15 @@ public class PacketLoader {
|
||||
if (writeInformation) savePacketProtocolInformation(outputStream, packet.getProtocol());
|
||||
|
||||
if (packet instanceof IStreamedPacket) {
|
||||
int pLength = ((IStreamedPacket) packet).getSize();
|
||||
if (hashProvider != null && !oldPacketFormat) pLength = addMostSignificantFlag(pLength);
|
||||
writeInteger(outputStream, pLength);
|
||||
writeInteger(outputStream, ((IStreamedPacket) packet).getSize());
|
||||
OutputStream lOS = (hashProvider == null) ? outputStream : hashProvider.getDigestOutputStream(outputStream);
|
||||
((IStreamedPacket) packet).readData(lOS);
|
||||
if (hashProvider != null) {
|
||||
if (!oldPacketFormat) outputStream.write(hashProvider.getLength());
|
||||
outputStream.write(((DigestOutputStream) lOS).getMessageDigest().digest());
|
||||
}
|
||||
if (hashProvider != null) outputStream.write(((DigestOutputStream) lOS).getMessageDigest().digest());
|
||||
} else {
|
||||
byte[] saveArray = packet.savePayload();
|
||||
int pLength = saveArray.length;
|
||||
if (hashProvider != null && !oldPacketFormat) pLength = addMostSignificantFlag(pLength);
|
||||
writeInteger(outputStream, pLength);
|
||||
writeInteger(outputStream, saveArray.length);
|
||||
outputStream.write(saveArray);
|
||||
if (hashProvider != null) {
|
||||
if (!oldPacketFormat) outputStream.write(hashProvider.getLength());
|
||||
outputStream.write(hashProvider.getDigestOf(saveArray));
|
||||
}
|
||||
if (hashProvider != null) outputStream.write(hashProvider.getDigestOf(saveArray));
|
||||
}
|
||||
outputStream.flush();
|
||||
}
|
||||
@ -437,10 +338,10 @@ public class PacketLoader {
|
||||
*/
|
||||
public static int readInteger(InputStream inputStream) throws IOException {
|
||||
if (inputStream == null) throw new NullPointerException("inputStream is null");
|
||||
int length = readByteIntegerFromInputStream(inputStream)* 16777216;
|
||||
length += readByteIntegerFromInputStream(inputStream) * 65536;
|
||||
length += readByteIntegerFromInputStream(inputStream) * 256;
|
||||
length += readByteIntegerFromInputStream(inputStream);
|
||||
int length = (readByteFromInputStream(inputStream) & 0xff) * 16777216;
|
||||
length += (readByteFromInputStream(inputStream) & 0xff) * 65536;
|
||||
length += (readByteFromInputStream(inputStream) & 0xff) * 256;
|
||||
length += (readByteFromInputStream(inputStream) & 0xff);
|
||||
return length;
|
||||
}
|
||||
|
||||
@ -450,13 +351,13 @@ public class PacketLoader {
|
||||
* @param outputStream The output stream to use.
|
||||
* @param i The integer to store.
|
||||
* @throws NullPointerException outputStream is null.
|
||||
* @throws IllegalArgumentException i is less than 0.
|
||||
* @throws IOException An I/O error has occurred.
|
||||
*/
|
||||
public static void writeInteger(OutputStream outputStream, int i) throws IOException {
|
||||
if (outputStream == null) throw new NullPointerException("outputStream is null");
|
||||
boolean neg = i < 0;
|
||||
if (i < 0) i = -(Integer.MIN_VALUE - i);
|
||||
outputStream.write((i / 16777216) + ((neg) ? 128 : 0));
|
||||
if (i < 0) throw new IllegalArgumentException("i is less than 0");
|
||||
outputStream.write(i / 16777216);
|
||||
i %= 16777216;
|
||||
outputStream.write(i / 65536);
|
||||
i %= 65536;
|
||||
@ -467,7 +368,6 @@ public class PacketLoader {
|
||||
|
||||
/**
|
||||
* Reads a byte from an {@link InputStream}.
|
||||
* See also: {@link #readByteIntegerFromInputStream(InputStream)}.
|
||||
*
|
||||
* @param inputStream The input stream to read from.
|
||||
* @return The byte read.
|
||||
@ -481,22 +381,6 @@ public class PacketLoader {
|
||||
return (byte) toret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads a byte (In int form) from an {@link InputStream}.
|
||||
* See also: {@link #readByteFromInputStream(InputStream)}.
|
||||
*
|
||||
* @param inputStream The input stream to read from.
|
||||
* @return The byte read (As an int).
|
||||
* @throws NullPointerException inputStream is null.
|
||||
* @throws IOException An I/O error has occurred or end of stream has been reached.
|
||||
*/
|
||||
public static int readByteIntegerFromInputStream(InputStream inputStream) throws IOException {
|
||||
if (inputStream == null) throw new NullPointerException("inputStream is null");
|
||||
int toret;
|
||||
if ((toret = inputStream.read()) == -1) throw new IOException("inputStream end of stream");
|
||||
return toret;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads in a byte array of a specified length from an {@link InputStream}.
|
||||
*
|
||||
@ -522,12 +406,12 @@ public class PacketLoader {
|
||||
*
|
||||
* @param i The integer to save.
|
||||
* @return The byte array.
|
||||
* @throws IllegalArgumentException i is less than 0.
|
||||
*/
|
||||
public static byte[] getByteArrayFromInteger(int i) {
|
||||
boolean neg = i < 0;
|
||||
if (i < 0) i = -(Integer.MIN_VALUE - i);
|
||||
if (i < 0) throw new IllegalArgumentException("i is less than 0");
|
||||
byte[] toret = new byte[4];
|
||||
toret[0] = (byte) ((i / 16777216) + ((neg) ? 128 : 0));
|
||||
toret[0] = (byte) (i / 16777216);
|
||||
i %= 16777216;
|
||||
toret[1] = (byte) (i / 65536);
|
||||
i %= 65536;
|
||||
|
@ -12,7 +12,7 @@ import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import static com.captainalm.lib.calmnet.packet.PacketLoader.readByteIntegerFromInputStream;
|
||||
import static com.captainalm.lib.calmnet.packet.PacketLoader.readByteFromInputStream;
|
||||
|
||||
/**
|
||||
* This class provides an encrypted packet that can hold an {@link IPacket}.
|
||||
@ -84,7 +84,6 @@ public class EncryptedPacket implements IStreamedPacket, IInternalCache {
|
||||
* @param factory The packet factory to use.
|
||||
* @param loader The Packet Loader to use.
|
||||
* @param cipherFactory The cipher factory to use.
|
||||
* @param packet The packet to use.
|
||||
* @throws NullPointerException factory, loader or cipherFactory is null.
|
||||
*/
|
||||
public EncryptedPacket(IPacketFactory factory, PacketLoader loader, ICipherFactory cipherFactory, IPacket packet) {
|
||||
@ -98,7 +97,6 @@ public class EncryptedPacket implements IStreamedPacket, IInternalCache {
|
||||
* @param factory The packet factory to use.
|
||||
* @param loader The Packet Loader to use.
|
||||
* @param cipherFactory The cipher factory to use.
|
||||
* @param packet The packet to use.
|
||||
* @param useCache If the encrypted data should be cached.
|
||||
* @throws NullPointerException factory, loader or cipherFactory is null.
|
||||
*/
|
||||
@ -360,7 +358,7 @@ public class EncryptedPacket implements IStreamedPacket, IInternalCache {
|
||||
if (size < 0) throw new IllegalArgumentException("size is less than 0");
|
||||
synchronized (slock) {
|
||||
if (size < 1) throw new IOException("inputStream end of stream");
|
||||
int flag = readByteIntegerFromInputStream(inputStream);
|
||||
int flag = readByteFromInputStream(inputStream) & 0xff;
|
||||
|
||||
if (size < 5) throw new IOException("inputStream end of stream");
|
||||
int cipherLenCache = PacketLoader.readInteger(inputStream);
|
||||
@ -382,7 +380,7 @@ public class EncryptedPacket implements IStreamedPacket, IInternalCache {
|
||||
trailingArrayLengthCache = 0;
|
||||
if ((flag & 1) == 1) {
|
||||
if (size < 9 + cipherLenCache) throw new IOException("inputStream end of stream");
|
||||
trailingArrayLengthCache = PacketLoader.readByteIntegerFromInputStream(inputStream);
|
||||
trailingArrayLengthCache = PacketLoader.readByteFromInputStream(inputStream);
|
||||
if (trailingArrayLengthCache < 1) throw new PacketException("trailer length less than 1");
|
||||
}
|
||||
|
||||
|
@ -283,19 +283,19 @@ public final class FragmentReceiver {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether responses should be verified by sending back the payload to be verified.
|
||||
* Gets whether responses should be verified.
|
||||
*
|
||||
* @return Should responses be verified by sending back the payload.
|
||||
* @return Should responses be verified.
|
||||
*/
|
||||
public boolean shouldVerifyResponses() {
|
||||
return verifyResponses;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether responses should be verified by sending back the payload to be verified.
|
||||
* Sets whether responses should be verified.
|
||||
* If set to false, {@link #setSentDataWillBeAllVerified(boolean)} will be set to false too.
|
||||
*
|
||||
* @param state If responses should be verified by sending back the payload.
|
||||
* @param state If responses should be verified.
|
||||
*/
|
||||
public void setResponseVerification(boolean state) {
|
||||
synchronized (slock) {
|
||||
@ -305,19 +305,19 @@ public final class FragmentReceiver {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether all sent fragments are expected to be verified.
|
||||
* Gets whether all sent fragments are verified to be equal.
|
||||
*
|
||||
* @return If all sent fragments are expected to be verified.
|
||||
* @return If all sent fragments will be verified to be equal.
|
||||
*/
|
||||
public boolean shouldSentDataBeAllVerified() {
|
||||
return makeSureSendDataVerified;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether all sent fragments are expected to be verified.
|
||||
* Gets whether all sent fragments are verified to be equal.
|
||||
* Requires {@link #setResponseVerification(boolean)} set to true.
|
||||
*
|
||||
* @param state If all sent fragments are expected to be verified.
|
||||
* @param state If all sent fragments will be verified to be equal.
|
||||
*/
|
||||
public void setSentDataWillBeAllVerified(boolean state) {
|
||||
synchronized (slock) {
|
||||
|
@ -18,7 +18,7 @@ public final class FragmentSender {
|
||||
private final HashMap<Integer, FragmentOutput> registry = new HashMap<>();
|
||||
private final Object slock = new Object();
|
||||
private final Object slockfinish = new Object();
|
||||
private int splitSize = 448;
|
||||
private int splitSize = 496;
|
||||
private PacketLoader packetLoader;
|
||||
private boolean verifyResponses = false;
|
||||
private boolean makeSureSendDataVerified = false;
|
||||
@ -249,7 +249,7 @@ public final class FragmentSender {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether responses should be verified by checking if they are equal.
|
||||
* Gets whether responses should be verified.
|
||||
*
|
||||
* @return Should responses be verified.
|
||||
*/
|
||||
@ -258,7 +258,7 @@ public final class FragmentSender {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether responses should be verified by checking if they are equal.
|
||||
* Sets whether responses should be verified.
|
||||
* If set to false, {@link #setSentDataWillBeAllVerified(boolean)} will be set to false too.
|
||||
*
|
||||
* @param state If responses should be verified.
|
||||
@ -271,19 +271,19 @@ public final class FragmentSender {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether all sent fragments are verified via resend checks for equality.
|
||||
* Gets whether all sent fragments are verified to be equal.
|
||||
*
|
||||
* @return If all sent fragments will be verified via resend checks for equality.
|
||||
* @return If all sent fragments will be verified to be equal.
|
||||
*/
|
||||
public boolean shouldSentDataBeAllVerified() {
|
||||
return makeSureSendDataVerified;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether all sent fragments are verified via resend checks for equality.
|
||||
* Gets whether all sent fragments are verified to be equal.
|
||||
* Requires {@link #setResponseVerification(boolean)} set to true.
|
||||
*
|
||||
* @param state If all sent fragments will be verified via resend checks for equality.
|
||||
* @param state If all sent fragments will be verified to be equal.
|
||||
*/
|
||||
public void setSentDataWillBeAllVerified(boolean state) {
|
||||
synchronized (slock) {
|
||||
|
Loading…
Reference in New Issue
Block a user