blob: fb58873392a0c46a4da957c58df71edd31efab4f [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Uses of Interface org.apache.activemq.artemis.api.core.ActiveMQBuffer (ActiveMQ Artemis Website 2.32.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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="Uses of Interface org.apache.activemq.artemis.api.core.ActiveMQBuffer (ActiveMQ Artemis Website 2.32.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h2 title="Uses of Interface org.apache.activemq.artemis.api.core.ActiveMQBuffer" class="title">Uses of Interface<br>org.apache.activemq.artemis.api.core.ActiveMQBuffer</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary">
<caption><span>Packages that use <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.api.core">org.apache.activemq.artemis.api.core</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.api.core.client">org.apache.activemq.artemis.api.core.client</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.core.config">org.apache.activemq.artemis.core.config</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.core.config.federation">org.apache.activemq.artemis.core.config.federation</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.spi.core.protocol">org.apache.activemq.artemis.spi.core.protocol</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="#org.apache.activemq.artemis.spi.core.remoting">org.apache.activemq.artemis.spi.core.remoting</a></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.api.core">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../package-summary.html">org.apache.activemq.artemis.api.core</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.activemq.artemis.api.core</a> that return <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#copy()">copy</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a copy of this buffer's readable bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#copy(int,int)">copy</a></span>&#8203;(int&nbsp;index,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a copy of this buffer's sub-region.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#duplicate()">duplicate</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a buffer which shares the whole region of this buffer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#dynamicBuffer(byte%5B%5D)">dynamicBuffer</a></span>&#8203;(byte[]&nbsp;bytes)</code></th>
<td class="colLast">
<div class="block">Creates a <em>self-expanding</em> ActiveMQBuffer filled with the given byte array</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#dynamicBuffer(int)">dynamicBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">
<div class="block">Creates a <em>self-expanding</em> ActiveMQBuffer with the given initial size</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#fixedBuffer(int)">fixedBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">
<div class="block">Creates a <em>fixed</em> ActiveMQBuffer of the given size</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ICoreMessage.</span><code><span class="memberNameLink"><a href="../ICoreMessage.html#getBodyBuffer()">getBodyBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">The buffer to write the body.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>default <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Message.</span><code><span class="memberNameLink"><a href="../Message.html#getBodyBuffer()">getBodyBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">do not use this, use through ICoreMessage or ClientMessage
Warning: if you need to read the content of a message use getDataBuffer().</div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ICoreMessage.</span><code><span class="memberNameLink"><a href="../ICoreMessage.html#getDataBuffer()">getDataBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a readOnlyBodyBuffer or a decompressed one if the message is compressed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ICoreMessage.</span><code><span class="memberNameLink"><a href="../ICoreMessage.html#getReadOnlyBodyBuffer()">getReadOnlyBodyBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a new Buffer slicing the current Body.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#pooledBuffer(int)">pooledBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#readSlice(int)">readSlice</a></span>&#8203;(int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a new slice of this buffer's sub-region starting at the current
<code>readerIndex</code> and increases the <code>readerIndex</code> by the size
of the new slice (= <code>length</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#slice()">slice</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a slice of this buffer's readable bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#slice(int,int)">slice</a></span>&#8203;(int&nbsp;index,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Returns a slice of this buffer's sub-region.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#wrappedBuffer(byte%5B%5D)">wrappedBuffer</a></span>&#8203;(byte[]&nbsp;underlying)</code></th>
<td class="colLast">
<div class="block">Creates an ActiveMQBuffer wrapping an underlying byte array</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#wrappedBuffer(io.netty.buffer.ByteBuf)">wrappedBuffer</a></span>&#8203;(io.netty.buffer.ByteBuf&nbsp;underlying)</code></th>
<td class="colLast">
<div class="block">Creates an ActiveMQBuffer wrapping an underlying ByteBuf
The position on this buffer won't affect the position on the inner buffer</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffers.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffers.html#wrappedBuffer(java.nio.ByteBuffer)">wrappedBuffer</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio" class="externalLink">ByteBuffer</a>&nbsp;underlying)</code></th>
<td class="colLast">
<div class="block">Creates an ActiveMQBuffer wrapping an underlying NIO ByteBuffer
The position on this buffer won't affect the position on the inner buffer</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">org.apache.activemq.artemis.api.core</a> with parameters of type <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">TransportConfiguration.</span><code><span class="memberNameLink"><a href="../TransportConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">Decodes this TransportConfiguration from a buffer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">TransportConfiguration.</span><code><span class="memberNameLink"><a href="../TransportConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">Encodes this TransportConfiguration into a buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code> until the destination becomes
non-writable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#getBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">getBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Message.</span><code><span class="memberNameLink"><a href="../Message.html#persist(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">persist</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;targetRecord)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">readBytes</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> until the destination becomes
non-writable, and increases the <code>readerIndex</code> by the number of the
transferred bytes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">readBytes</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#readBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">readBytes</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;dst,
int&nbsp;dstIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers this buffer's data to the specified destination starting at
the current <code>readerIndex</code> and increases the <code>readerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Message.</span><code><span class="memberNameLink"><a href="../Message.html#reloadPersistence(org.apache.activemq.artemis.api.core.ActiveMQBuffer,org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools)">reloadPersistence</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;record,
org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools&nbsp;pools)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code> until the destination becomes
unreadable.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#setBytes(int,org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">setBytes</a></span>&#8203;(int&nbsp;index,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the specified absolute <code>index</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int)">writeBytes</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ActiveMQBuffer.</span><code><span class="memberNameLink"><a href="../ActiveMQBuffer.html#writeBytes(org.apache.activemq.artemis.api.core.ActiveMQBuffer,int,int)">writeBytes</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;src,
int&nbsp;srcIndex,
int&nbsp;length)</code></th>
<td class="colLast">
<div class="block">Transfers the specified source buffer's data to this buffer starting at
the current <code>writerIndex</code> and increases the <code>writerIndex</code>
by the number of the transferred bytes (= <code>length</code>).</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.api.core.client">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../client/package-summary.html">org.apache.activemq.artemis.api.core.client</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../client/package-summary.html">org.apache.activemq.artemis.api.core.client</a> that return <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ClientMessage.</span><code><span class="memberNameLink"><a href="../client/ClientMessage.html#getBodyBuffer()">getBodyBuffer</a></span>()</code></th>
<td class="colLast">
<div class="block">The buffer to write the body.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.core.config">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../../../core/config/package-summary.html">org.apache.activemq.artemis.core.config</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../../core/config/package-summary.html">org.apache.activemq.artemis.core.config</a> with parameters of type <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BridgeConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/BridgeConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DivertConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/DivertConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationConfiguration.Credentials.</span><code><span class="memberNameLink"><a href="../../../core/config/FederationConfiguration.Credentials.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BridgeConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/BridgeConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">DivertConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/DivertConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationConfiguration.Credentials.</span><code><span class="memberNameLink"><a href="../../../core/config/FederationConfiguration.Credentials.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.core.config.federation">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../../../core/config/federation/package-summary.html">org.apache.activemq.artemis.core.config.federation</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../../core/config/federation/package-summary.html">org.apache.activemq.artemis.core.config.federation</a> with parameters of type <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationAddressPolicyConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationAddressPolicyConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationAddressPolicyConfiguration.Matcher.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationAddressPolicyConfiguration.Matcher.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationConnectionConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationConnectionConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationDownstreamConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationDownstreamConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationPolicy.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationPolicy.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationPolicySet.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationPolicySet.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationQueuePolicyConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationQueuePolicyConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationQueuePolicyConfiguration.Matcher.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationQueuePolicyConfiguration.Matcher.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationStreamConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationStreamConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationTransformerConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationTransformerConfiguration.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationAddressPolicyConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationAddressPolicyConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationAddressPolicyConfiguration.Matcher.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationAddressPolicyConfiguration.Matcher.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationConnectionConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationConnectionConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationDownstreamConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationDownstreamConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationPolicy.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationPolicy.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationPolicySet.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationPolicySet.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationQueuePolicyConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationQueuePolicyConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationQueuePolicyConfiguration.Matcher.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationQueuePolicyConfiguration.Matcher.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationStreamConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationStreamConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">FederationTransformerConfiguration.</span><code><span class="memberNameLink"><a href="../../../core/config/federation/FederationTransformerConfiguration.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.spi.core.protocol">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../../../spi/core/protocol/package-summary.html">org.apache.activemq.artemis.spi.core.protocol</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../../spi/core/protocol/package-summary.html">org.apache.activemq.artemis.spi.core.protocol</a> that return <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractRemotingConnection.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/AbstractRemotingConnection.html#createTransportBuffer(int)">createTransportBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">RemotingConnection.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/RemotingConnection.html#createTransportBuffer(int)">createTransportBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">
<div class="block">creates a new ActiveMQBuffer of the specified size.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../../spi/core/protocol/package-summary.html">org.apache.activemq.artemis.spi.core.protocol</a> with parameters of type <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">AbstractRemotingConnection.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/AbstractRemotingConnection.html#bufferReceived(java.lang.Object,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">bufferReceived</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;connectionID,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../Message.html" title="interface in org.apache.activemq.artemis.api.core">Message</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">MessagePersister.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/MessagePersister.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer,org.apache.activemq.artemis.api.core.Message,org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
<a href="../Message.html" title="interface in org.apache.activemq.artemis.api.core">Message</a>&nbsp;record,
org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools&nbsp;pools)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../Message.html" title="interface in org.apache.activemq.artemis.api.core">Message</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">MessagePersister.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/MessagePersister.html#decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer,org.apache.activemq.artemis.api.core.Message,org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools,org.apache.activemq.artemis.core.persistence.StorageManager)">decode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
<a href="../Message.html" title="interface in org.apache.activemq.artemis.api.core">Message</a>&nbsp;record,
org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools&nbsp;pools,
org.apache.activemq.artemis.core.persistence.StorageManager&nbsp;storageManager)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">MessagePersister.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/MessagePersister.html#encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer,org.apache.activemq.artemis.api.core.Message)">encode</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
<a href="../Message.html" title="interface in org.apache.activemq.artemis.api.core">Message</a>&nbsp;record)</code></th>
<td class="colLast">
<div class="block">Sub classes must add the first short as the protocol-id</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ProtocolManager.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/ProtocolManager.html#handleBuffer(org.apache.activemq.artemis.spi.core.protocol.RemotingConnection,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">handleBuffer</a></span>&#8203;(<a href="../../../spi/core/protocol/RemotingConnection.html" title="interface in org.apache.activemq.artemis.spi.core.protocol">RemotingConnection</a>&nbsp;connection,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">ProtocolManager.</span><code><span class="memberNameLink"><a href="../../../spi/core/protocol/ProtocolManager.html#handshake(org.apache.activemq.artemis.core.remoting.impl.netty.NettyServerConnection,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">handshake</a></span>&#8203;(org.apache.activemq.artemis.core.remoting.impl.netty.NettyServerConnection&nbsp;connection,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</section>
</li>
<li class="blockList">
<section role="region"><a id="org.apache.activemq.artemis.spi.core.remoting">
<!-- -->
</a>
<h3>Uses of <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a> in <a href="../../../spi/core/remoting/package-summary.html">org.apache.activemq.artemis.spi.core.remoting</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../../../spi/core/remoting/package-summary.html">org.apache.activemq.artemis.spi.core.remoting</a> that return <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/Connection.html#createTransportBuffer(int)">createTransportBuffer</a></span>&#8203;(int&nbsp;size)</code></th>
<td class="colLast">
<div class="block">Create a new ActiveMQBuffer of the given size.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary">
<caption><span>Methods in <a href="../../../spi/core/remoting/package-summary.html">org.apache.activemq.artemis.spi.core.remoting</a> with parameters of type <a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BufferHandler.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/BufferHandler.html#bufferReceived(java.lang.Object,org.apache.activemq.artemis.api.core.ActiveMQBuffer)">bufferReceived</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;connectionID,
<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">called by the remoting connection when a buffer is received.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">BufferDecoder.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/BufferDecoder.html#isReadyToHandle(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">isReadyToHandle</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">called by the remoting system prior to <a href="../../../spi/core/remoting/BufferHandler.html#bufferReceived(java.lang.Object,org.apache.activemq.artemis.api.core.ActiveMQBuffer)"><code>BufferHandler.bufferReceived(Object, ActiveMQBuffer)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/Connection.html#write(org.apache.activemq.artemis.api.core.ActiveMQBuffer)">write</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer)</code></th>
<td class="colLast">
<div class="block">writes the buffer to the connection with no flushing or batching</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/Connection.html#write(org.apache.activemq.artemis.api.core.ActiveMQBuffer,boolean)">write</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
boolean&nbsp;requestFlush)</code></th>
<td class="colLast">
<div class="block">writes the buffer to the connection and if flush is true request to flush the buffer
(and any previous un-flushed ones) into the wire.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/Connection.html#write(org.apache.activemq.artemis.api.core.ActiveMQBuffer,boolean,boolean)">write</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
boolean&nbsp;flush,
boolean&nbsp;batched)</code></th>
<td class="colLast">
<div class="block">writes the buffer to the connection and if flush is true returns only when the buffer has been physically written to the connection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">Connection.</span><code><span class="memberNameLink"><a href="../../../spi/core/remoting/Connection.html#write(org.apache.activemq.artemis.api.core.ActiveMQBuffer,boolean,boolean,io.netty.channel.ChannelFutureListener)">write</a></span>&#8203;(<a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">ActiveMQBuffer</a>&nbsp;buffer,
boolean&nbsp;flush,
boolean&nbsp;batched,
io.netty.channel.ChannelFutureListener&nbsp;futureListener)</code></th>
<td class="colLast">
<div class="block">writes the buffer to the connection and if flush is true returns only when the buffer has been physically written to the connection.</div>
</td>
</tr>
</tbody>
</table>
</section>
</li>
</ul>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../ActiveMQBuffer.html" title="interface in org.apache.activemq.artemis.api.core">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2024 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>