386 lines
25 KiB
HTML
386 lines
25 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_262) on Sun Jun 11 02:31:49 BST 2023 -->
|
|
<title>NetMarshalServerWrapped</title>
|
|
<meta name="date" content="2023-06-11">
|
|
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="NetMarshalServerWrapped";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":10,"i1":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>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html" title="class in com.captainalm.lib.calmnet.marshal"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html" target="_top">Frames</a></li>
|
|
<li><a href="NetMarshalServerWrapped.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.captainalm.lib.calmnet.marshal</div>
|
|
<h2 title="Class NetMarshalServerWrapped" class="title">Class NetMarshalServerWrapped</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html" title="class in com.captainalm.lib.calmnet.marshal">com.captainalm.lib.calmnet.marshal.NetMarshalServer</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.captainalm.lib.calmnet.marshal.NetMarshalServerWrapped</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Implemented Interfaces:</dt>
|
|
<dd>java.io.Closeable, java.lang.AutoCloseable</dd>
|
|
</dl>
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">NetMarshalServerWrapped</span>
|
|
extends <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html" title="class in com.captainalm.lib.calmnet.marshal">NetMarshalServer</a></pre>
|
|
<div class="block">This class provides a way of networking on the server side and holds a collection of <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalClient.html" title="class in com.captainalm.lib.calmnet.marshal"><code>NetMarshalClient</code></a>s, 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>
|
|
<dl>
|
|
<dt><span class="simpleTagLabel">Author:</span></dt>
|
|
<dd>Captain ALM</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html#NetMarshalServerWrapped-java.net.DatagramSocket-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketLoader-com.captainalm.lib.calmnet.marshal.FragmentationOptions-java.util.function.Function-java.util.function.Function-">NetMarshalServerWrapped</a></span>(java.net.DatagramSocket socketIn,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html" title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
|
|
java.util.function.Function<java.io.InputStream,java.io.InputStream> inputStreamWrapper,
|
|
java.util.function.Function<java.io.OutputStream,java.io.OutputStream> outputStreamWrapper)</code>
|
|
<div class="block">Constructs a new NetMarshalServerWrapped with the specified <code>DatagramSocket</code>, <a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>, <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <a href="../../../../../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>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html#NetMarshalServerWrapped-java.net.ServerSocket-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketLoader-com.captainalm.lib.calmnet.marshal.FragmentationOptions-java.util.function.Function-java.util.function.Function-">NetMarshalServerWrapped</a></span>(java.net.ServerSocket socketIn,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html" title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
|
|
java.util.function.Function<java.io.InputStream,java.io.InputStream> inputStreamWrapper,
|
|
java.util.function.Function<java.io.OutputStream,java.io.OutputStream> outputStreamWrapper)</code>
|
|
<div class="block">Constructs a new NetMarshalServerWrapped with the specified <code>ServerSocket</code>, <a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>, <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <a href="../../../../../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 =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>java.util.function.Function<java.io.InputStream,java.io.InputStream></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html#getWrapperInputStream--">getWrapperInputStream</a></span>()</code>
|
|
<div class="block">Gets the <code>Function</code> input stream wrapper function.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>java.util.function.Function<java.io.OutputStream,java.io.OutputStream></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html#getWrapperOutputStream--">getWrapperOutputStream</a></span>()</code>
|
|
<div class="block">Gets the <code>Function</code> output stream wrapper function.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.com.captainalm.lib.calmnet.marshal.NetMarshalServer">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from 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></h3>
|
|
<code><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#broadcastPacket-com.captainalm.lib.calmnet.packet.IPacket-boolean-">broadcastPacket</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#close--">close</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#connect-java.net.InetAddress-int-int-">connect</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#disconnectAll--">disconnectAll</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#flush--">flush</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getAcceptExceptionBiConsumer--">getAcceptExceptionBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getClientAcceptanceBiConsumer--">getClientAcceptanceBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getClosedConsumer--">getClosedConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getConnectedClients--">getConnectedClients</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getFragmentationOptions--">getFragmentationOptions</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getOpenedConsumer--">getOpenedConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getPacketFactory--">getPacketFactory</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getPacketLoader--">getPacketLoader</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getReceiveBiConsumer--">getReceiveBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getReceiveExceptionBiConsumer--">getReceiveExceptionBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#getSocketSetupBiConsumer--">getSocketSetupBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#isRunning--">isRunning</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#localAddress--">localAddress</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#localPort--">localPort</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#open--">open</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setAcceptExceptionBiConsumer-java.util.function.BiConsumer-">setAcceptExceptionBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setClientAcceptanceBiConsumer-java.util.function.BiConsumer-">setClientAcceptanceBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setClosedConsumer-java.util.function.Consumer-">setClosedConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setOpenedConsumer-java.util.function.Consumer-">setOpenedConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setReceiveBiConsumer-java.util.function.BiConsumer-">setReceiveBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setReceiveExceptionBiConsumer-java.util.function.BiConsumer-">setReceiveExceptionBiConsumer</a>, <a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html#setSocketSetupBiConsumer-java.util.function.BiConsumer-">setSocketSetupBiConsumer</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="NetMarshalServerWrapped-java.net.ServerSocket-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketLoader-com.captainalm.lib.calmnet.marshal.FragmentationOptions-java.util.function.Function-java.util.function.Function-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>NetMarshalServerWrapped</h4>
|
|
<pre>public NetMarshalServerWrapped(java.net.ServerSocket socketIn,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html" title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
|
|
java.util.function.Function<java.io.InputStream,java.io.InputStream> inputStreamWrapper,
|
|
java.util.function.Function<java.io.OutputStream,java.io.OutputStream> outputStreamWrapper)</pre>
|
|
<div class="block">Constructs a new NetMarshalServerWrapped with the specified <code>ServerSocket</code>, <a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>, <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <a href="../../../../../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>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>socketIn</code> - The server socket to use.</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><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code>java.lang.NullPointerException</code> - socketIn, factory or loader is null.</dd>
|
|
<dd><code>java.lang.IllegalArgumentException</code> - Fragmentation options failed validation.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="NetMarshalServerWrapped-java.net.DatagramSocket-com.captainalm.lib.calmnet.packet.factory.IPacketFactory-com.captainalm.lib.calmnet.packet.PacketLoader-com.captainalm.lib.calmnet.marshal.FragmentationOptions-java.util.function.Function-java.util.function.Function-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>NetMarshalServerWrapped</h4>
|
|
<pre>public NetMarshalServerWrapped(java.net.DatagramSocket socketIn,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory">IPacketFactory</a> factory,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet">PacketLoader</a> loader,
|
|
<a href="../../../../../com/captainalm/lib/calmnet/marshal/FragmentationOptions.html" title="class in com.captainalm.lib.calmnet.marshal">FragmentationOptions</a> fragmentationOptions,
|
|
java.util.function.Function<java.io.InputStream,java.io.InputStream> inputStreamWrapper,
|
|
java.util.function.Function<java.io.OutputStream,java.io.OutputStream> outputStreamWrapper)</pre>
|
|
<div class="block">Constructs a new NetMarshalServerWrapped with the specified <code>DatagramSocket</code>, <a href="../../../../../com/captainalm/lib/calmnet/packet/factory/IPacketFactory.html" title="interface in com.captainalm.lib.calmnet.packet.factory"><code>IPacketFactory</code></a>, <a href="../../../../../com/captainalm/lib/calmnet/packet/PacketLoader.html" title="class in com.captainalm.lib.calmnet.packet"><code>PacketLoader</code></a>, <a href="../../../../../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>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>socketIn</code> - The datagram socket to use.</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><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code>java.lang.NullPointerException</code> - socketIn, factory or loader is null.</dd>
|
|
<dd><code>java.lang.IllegalArgumentException</code> - Fragmentation options failed validation.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="getWrapperInputStream--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWrapperInputStream</h4>
|
|
<pre>public java.util.function.Function<java.io.InputStream,java.io.InputStream> getWrapperInputStream()</pre>
|
|
<div class="block">Gets the <code>Function</code> input stream wrapper function.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The input stream wrapper function or null.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getWrapperOutputStream--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getWrapperOutputStream</h4>
|
|
<pre>public java.util.function.Function<java.io.OutputStream,java.io.OutputStream> getWrapperOutputStream()</pre>
|
|
<div class="block">Gets the <code>Function</code> output stream wrapper function.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The output stream wrapper function or null.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../../../com/captainalm/lib/calmnet/marshal/NetMarshalServer.html" title="class in com.captainalm.lib.calmnet.marshal"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../../index.html?com/captainalm/lib/calmnet/marshal/NetMarshalServerWrapped.html" target="_top">Frames</a></li>
|
|
<li><a href="NetMarshalServerWrapped.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|