if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FragmentSender";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSendCompletePacket.html"title="class in com.captainalm.lib.calmnet.packet.fragment"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSendStopPacket.html"title="class in com.captainalm.lib.calmnet.packet.fragment"><spanclass="typeNameLink">Next Class</span></a></li>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#FragmentSender-com.captainalm.lib.calmnet.packet.PacketLoader-">FragmentSender</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader)</code>
<divclass="block">Constructs a new FragmentSender with the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#FragmentSender-com.captainalm.lib.calmnet.packet.PacketLoader-int-">FragmentSender</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
int newSize)</code>
<divclass="block">Constructs a new FragmentSender with the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>
and packet split size in bytes.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="memberSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<divclass="block">Gets the last finished packet ID.</div>
</td>
</tr>
<trid="i7"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a></code></td>
<divclass="block">Gets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> in use.</div>
<divclass="block">Polls the last finished packet ID.</div>
</td>
</tr>
<trid="i10"class="altColor">
<tdclass="colFirst"><code>boolean</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#receivePacket-com.captainalm.lib.calmnet.packet.IPacket-">receivePacket</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packetIn)</code>
<divclass="block">Receives a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> into the FragmentSender.</div>
</td>
</tr>
<trid="i11"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a>[]</code></td>
<divclass="block">Sends the current <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a>s from the FragmentSender.</div>
</td>
</tr>
<trid="i12"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#sendPacket-com.captainalm.lib.calmnet.packet.IPacket-">sendPacket</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packetIn)</code>
<divclass="block">Sends a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> using this FragmentSender.</div>
</td>
</tr>
<trid="i13"class="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setPacketLoader-com.captainalm.lib.calmnet.packet.PacketLoader-">setPacketLoader</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader)</code>
<divclass="block">Sets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> to use.</div>
<divclass="block">Stops data verification for all packets being sent when <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--"><code>shouldSentDataBeAllVerified()</code></a> is true.</div>
<divclass="block">Stops data verification for the specified Packet ID when <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--"><code>shouldSentDataBeAllVerified()</code></a> is true.</div>
<pre>public FragmentSender(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader)</pre>
<divclass="block">Constructs a new FragmentSender with the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>.</div>
<pre>public FragmentSender(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
int newSize)</pre>
<divclass="block">Constructs a new FragmentSender with the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>
<pre>public void sendPacket(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packetIn)</pre>
<divclass="block">Sends a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> using this FragmentSender.</div>
<dd><code>packetIn</code> - The packet to fragment and send.</dd>
</dl>
</li>
</ul>
<aname="sendPacket--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>sendPacket</h4>
<pre>public <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a>[] sendPacket()
throws <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></pre>
<divclass="block">Sends the current <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a>s from the FragmentSender.</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>The packets to send.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - A Packet Exception has occurred.</dd>
<pre>public boolean receivePacket(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> packetIn)
throws <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></pre>
<divclass="block">Receives a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> into the FragmentSender.</div>
<dd><code>packetIn</code> - The packet to receive.</dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>If the received packet was a fragment packet.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketException.html"title="class in com.captainalm.lib.calmnet.packet">PacketException</a></code> - A Packet Exception has occurred.</dd>
<dd><code>newSize</code> - The new packet split size.</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - newSize is less than 1.</dd>
</dl>
</li>
</ul>
<aname="getPacketLoader--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPacketLoader</h4>
<pre>public <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> getPacketLoader()</pre>
<divclass="block">Gets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> in use.</div>
<pre>public void setPacketLoader(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader)</pre>
<divclass="block">Sets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> to use.</div>
If set to false, <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setSentDataWillBeAllVerified-boolean-"><code>setSentDataWillBeAllVerified(boolean)</code></a> will be set to false too.</div>
Requires <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#setResponseVerification-boolean-"><code>setResponseVerification(boolean)</code></a> set to true.</div>
<divclass="block">Stops data verification for the specified Packet ID when <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--"><code>shouldSentDataBeAllVerified()</code></a> is true.</div>
<divclass="block">Stops data verification for all packets being sent when <ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSender.html#shouldSentDataBeAllVerified--"><code>shouldSentDataBeAllVerified()</code></a> is true.</div>
<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSendCompletePacket.html"title="class in com.captainalm.lib.calmnet.packet.fragment"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/fragment/FragmentSendStopPacket.html"title="class in com.captainalm.lib.calmnet.packet.fragment"><spanclass="typeNameLink">Next Class</span></a></li>