<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactoryWithPacket.html"title="class in com.captainalm.lib.calmnet.packet.factory"><spanclass="typeNameLink">Next Class</span></a></li>
<dd><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactoryWithPacket.html"title="class in com.captainalm.lib.calmnet.packet.factory">CALMNETPacketFactoryWithPacket</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="typeNameLabel">CALMNETPacketFactory</span>
extends java.lang.Object
implements <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></pre>
<divclass="block">This class provides a standard extensible <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a> for calmnet packets.</div>
<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 Instance of CALMNETPacketFactory with if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s are preferred and the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>.</div>
<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory)</code>
<divclass="block">Constructs a new Instance of CALMNETPacketFactory with if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s are preferred, the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> and the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>.</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 if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-"><code>getPacket(PacketProtocolInformation)</code></a> prefers returning <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s if possible.</div>
<divclass="block">Gets the <code>ICipherFactory</code> in use (Could be the same instance).</div>
</td>
</tr>
<trid="i2"class="altColor">
<tdclass="colFirst"><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">getPacket</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html"title="class in com.captainalm.lib.calmnet.packet">PacketProtocolInformation</a> information)</code>
<divclass="block">Constructs a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> of the protocol specified by the passed <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketProtocolInformation</code></a> instance.</div>
</td>
</tr>
<trid="i3"class="rowColor">
<tdclass="colFirst"><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></code></td>
<divclass="block">Gets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a> in use (Could be the same instance).</div>
</td>
</tr>
<trid="i4"class="altColor">
<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">Sets the <code>ICipherFactory</code> in use.</div>
</td>
</tr>
<trid="i6"class="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#setPacketFactory-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-">setPacketFactory</a></span>(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory)</code>
<divclass="block">Sets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a> in use (null signifies to use the same instance).</div>
</td>
</tr>
<trid="i7"class="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.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">Sets if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-"><code>getPacket(PacketProtocolInformation)</code></a> prefers returning <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s if possible.</div>
<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 Instance of CALMNETPacketFactory with if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s are preferred and the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>.</div>
<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory)</pre>
<divclass="block">Constructs a new Instance of CALMNETPacketFactory with if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s are preferred, the specified <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a> and the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>.</div>
<pre>public <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet">IPacket</a> getPacket(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html"title="class in com.captainalm.lib.calmnet.packet">PacketProtocolInformation</a> information)</pre>
<divclass="block">Constructs a <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IPacket</code></a> of the protocol specified by the passed <ahref="../../../../../../com/captainalm/lib/calmnet/packet/PacketProtocolInformation.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketProtocolInformation</code></a> instance.</div>
<dd><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-">getPacket</a></code> in interface <code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></code></dd>
<divclass="block">Gets if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-"><code>getPacket(PacketProtocolInformation)</code></a> prefers returning <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s if possible.</div>
<dd><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html#areStreamPacketsPreferred--">areStreamPacketsPreferred</a></code> in interface <code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></code></dd>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>If streamed packets are preferred for construction.</dd>
<divclass="block">Sets if <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactory.html#getPacket-com.captainalm.lib.calmnet.packet.PacketProtocolInformation-"><code>getPacket(PacketProtocolInformation)</code></a> prefers returning <ahref="../../../../../../com/captainalm/lib/calmnet/packet/IStreamedPacket.html"title="interface in com.captainalm.lib.calmnet.packet"><code>IStreamedPacket</code></a>s if possible.</div>
<dd><code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html#setStreamPacketsPreferred-boolean-">setStreamPacketsPreferred</a></code> in interface <code><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a></code></dd>
<dd><code>preferred</code> - If streamed packets are preferred for construction.</dd>
</dl>
</li>
</ul>
<aname="getPacketFactory--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getPacketFactory</h4>
<pre>public <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> getPacketFactory()</pre>
<divclass="block">Gets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a> in use (Could be the same instance).</div>
<pre>public void setPacketFactory(<ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory)</pre>
<divclass="block">Sets the <ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a> in use (null signifies to use the same instance).</div>
<dd><code>factory</code> - The packet factory to use or null.</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>
<li><ahref="../../../../../../com/captainalm/lib/calmnet/packet/factory/CALMNETPacketFactoryWithPacket.html"title="class in com.captainalm.lib.calmnet.packet.factory"><spanclass="typeNameLink">Next Class</span></a></li>