<li><ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html"title="class in com.captainalm.lib.calmnet.marshal"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html"title="class in com.captainalm.lib.calmnet.marshal"><spanclass="typeNameLink">Next Class</span></a></li>
<li><ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html"title="class in com.captainalm.lib.calmnet.marshal">com.captainalm.lib.calmnet.marshal.NetMarshalClient</a></li>
<pre>public class <spanclass="typeNameLabel">NetMarshalClientWrapped</span>
extends <ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html"title="class in com.captainalm.lib.calmnet.marshal">NetMarshalClient</a></pre>
<divclass="block">This class provides a managed way of networking on the client side, allows stream wrapping.
Wrapped streams should close the underlying stream when closed.
NOTE: Methods that are synchronised are used here, do NOT use instances of these classes as monitors.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>DatagramSocket</code>, remote <code>InetAddress</code>, remote port, <code>InputStream</code>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>DatagramSocket</code>, remote <code>InetAddress</code>, remote port, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>MulticastSocket</code>, multicast group <code>InetAddress</code>, multicast port, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>Socket</code>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.</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">
<h3>Methods inherited from class com.captainalm.lib.calmnet.marshal.<ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html"title="class in com.captainalm.lib.calmnet.marshal">NetMarshalClient</a></h3>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>Socket</code>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.
Wrapped streams should close the underlying stream when closed.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>MulticastSocket</code>, multicast group <code>InetAddress</code>, multicast port, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.
The <code>MulticastSocket</code> will join the multicast group.
Wrapped streams should close the underlying stream when closed.</div>
<dd><code>socketIn</code> - The multicast socket to use.</dd>
<dd><code>multicastGroupAddress</code> - The multicast group address.</dd>
<dd><code>multicastGroupPort</code> - The multicast group port.</dd>
<dd><code>factory</code> - The packet factory to use.</dd>
<dd><code>loader</code> - The packet loader to use.</dd>
<dd><code>fragmentationOptions</code> - The fragmentation options, null to disable fragmentation.</dd>
<dd><code>inputStreamWrapper</code> - The input stream wrapper to use (Can be null).</dd>
<dd><code>outputStreamWrapper</code> - The output stream wrapper to use (Can be null).</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - There is an error joining or multicastGroupAddress is not a multicast address.</dd>
<dd><code>java.lang.NullPointerException</code> - socketIn, multicastGroupAddress, factory or loader is null.</dd>
<dd><code>java.lang.IllegalArgumentException</code> - multicastGroupPort is less than 0 or greater than 65535 or fragmentation options failed validation.</dd>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>DatagramSocket</code>, remote <code>InetAddress</code>, remote port, <code>InputStream</code>, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.
Wrapped streams should close the underlying stream when closed.</div>
<ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
<ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
<divclass="block">Constructs a new NetMarshalClientWrapped with the specified <code>DatagramSocket</code>, remote <code>InetAddress</code>, remote port, <ahref="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html"title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>,
<ahref="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html"title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <ahref="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html"title="class in com.captainalm.lib.calmnet.marshal"><code>FragmentationOptions</code></a>, <code>Function</code> for wrapping the input stream and the <code>Function</code> for wrapping the output stream.
Wrapped streams should close the underlying stream when closed.</div>
<li><ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html"title="class in com.captainalm.lib.calmnet.marshal"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html"title="class in com.captainalm.lib.calmnet.marshal"><spanclass="typeNameLink">Next Class</span></a></li>