Upgrade to v2.5.0

This commit is contained in:
Will Hedgecock 2019-03-20 13:31:06 -05:00
parent bcc1fc5daf
commit 30ee0289ca
27 changed files with 402 additions and 81 deletions

View File

@ -29,7 +29,7 @@
<section id="downloads">
<a class="zip_download_link" href="https://github.com/Fazecast/jSerialComm/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/Fazecast/jSerialComm/tarball/master">Download this project as a tar.gz file</a>
<a class="jar_download_link" href="binaries/jSerialComm-2.4.2.jar">Download this library as a .jar file</a>
<a class="jar_download_link" href="binaries/jSerialComm-2.5.0.jar">Download this library as a .jar file</a>
</section>
</header>
</div>
@ -60,6 +60,7 @@
<li>New data is available for reading</li>
<li>All data has been successfully written</li>
<li>A complete fixed-length data packet has arrived</li>
<li>A delimited string-based message has been received</li>
</ul>
</ul>
@ -74,7 +75,7 @@
<h3><a class="anchor" aria-hidden="true"><span class="octicon octicon-link"></span></a>How can use this library in my own project?</h3>
<p>One of the most convenient features of this library is that it allows you to simply include the <a href="binaries/jSerialComm-2.4.2.jar">JAR file</a> in your custom project, and it will automatically select and load the correct native library for your platform and architecture. As such, you can make use of this library by simply copying the jSerialComm.jar file into your project directory and linking to it as you would any other JAR file.</p>
<p>One of the most convenient features of this library is that it allows you to simply include the <a href="binaries/jSerialComm-2.5.0.jar">JAR file</a> in your custom project, and it will automatically select and load the correct native library for your platform and architecture. As such, you can make use of this library by simply copying the jSerialComm.jar file into your project directory and linking to it as you would any other JAR file.</p>
<p>To access the contents of the library in your project, make sure to <code>import com.fazecast.jSerialComm.*</code> into your java files. You can then generate a list of all available serial ports on your system (real or virtual), by calling the following static method:</p>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:39 CST 2019 -->
<title>All Classes (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>All Classes (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -25,6 +25,7 @@
<li><a href="com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortDataListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortEvent.html" title="class in com.fazecast.jSerialComm" target="classFrame">SerialPortEvent</a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm" target="classFrame">SerialPortIOException</a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortMessageListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortPacketListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortTimeoutException.html" title="class in com.fazecast.jSerialComm" target="classFrame">SerialPortTimeoutException</a></li>
</ul>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:39 CST 2019 -->
<title>All Classes (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>All Classes (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -25,6 +25,7 @@
<li><a href="com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><span class="interfaceName">SerialPortDataListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortEvent.html" title="class in com.fazecast.jSerialComm">SerialPortEvent</a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm">SerialPortIOException</a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="interfaceName">SerialPortMessageListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="interfaceName">SerialPortPacketListener</span></a></li>
<li><a href="com/fazecast/jSerialComm/SerialPortTimeoutException.html" title="class in com.fazecast.jSerialComm">SerialPortTimeoutException</a></li>
</ul>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPort (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPort (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPort (jSerialComm 2.4.2 API)";
parent.document.title="SerialPort (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -1379,20 +1379,22 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/lang/Object.html
<p>
Calling this function enables event-based serial port callbacks to be used instead of, or in addition to, direct serial port read/write calls or the <a href="https://docs.oracle.com/javase/9/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a>/<a href="https://docs.oracle.com/javase/9/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> interface.
<p>
The parameter passed into this method must be an implementation of either the <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a> or the <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>.
The <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a> interface <b>must</b> be used if you plan to use event-based reading of <i>full</i> data packets over the serial port.
The parameter passed into this method must be an implementation of either <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a>, <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>, or <a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortMessageListener</code></a>.
The <a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortMessageListener</code></a> interface <b>should</b> be used if you plan to use event-based reading of <i>delimited</i> data messages over the serial port.
The <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a> interface <b>should</b> be used if you plan to use event-based reading of <i>full</i> data packets over the serial port.
Otherwise, the simpler <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a> may be used.
<p>
Only one listener can be registered at a time; however, that listener can be used to detect multiple types of serial port events.
Refer to <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a> and <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a> for more information.</div>
Refer to <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a>, <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>, and <a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortMessageListener</code></a> for more information.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>listener</code> - A <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a> or <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>implementation to be used for event-based serial port communications.</dd>
<dd><code>listener</code> - A <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a>, <a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>, or <a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortMessageListener</code></a> implementation to be used for event-based serial port communications.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Whether the listener was successfully registered with the serial port.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a>,
<a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a></dd>
<a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortPacketListener</code></a>,
<a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortMessageListener</code></a></dd>
</dl>
</li>
</ul>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPortDataListener (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortDataListener (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortDataListener (jSerialComm 2.4.2 API)";
parent.document.title="SerialPortDataListener (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -128,7 +128,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm">SerialPortPacketListener</a></code></dd>
<dd><code><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm">SerialPortMessageListener</a></code>, <code><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm">SerialPortPacketListener</a></code></dd>
</dl>
<hr>
<br>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPortEvent (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortEvent (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortEvent (jSerialComm 2.4.2 API)";
parent.document.title="SerialPortEvent (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPortIOException (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortIOException (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortIOException (jSerialComm 2.4.2 API)";
parent.document.title="SerialPortIOException (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -52,7 +52,7 @@ var pathtoroot = "../../../";loadScripts(document, 'script');</script>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/fazecast/jSerialComm/SerialPortEvent.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/fazecast/jSerialComm/SerialPortIOException.html" target="_top">Frames</a></li>
@ -319,7 +319,7 @@ extends <a href="https://docs.oracle.com/javase/9/docs/api/java/io/IOException.h
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/fazecast/jSerialComm/SerialPortEvent.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/fazecast/jSerialComm/SerialPortIOException.html" target="_top">Frames</a></li>

View File

@ -0,0 +1,295 @@
<!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 (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortMessageListener (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortMessageListener (jSerialComm 2.5.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= 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="../../../com/fazecast/jSerialComm/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-all.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/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/fazecast/jSerialComm/SerialPortMessageListener.html" target="_top">Frames</a></li>
<li><a href="SerialPortMessageListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><span>SEARCH:&nbsp;</span>
<input type="text" id="search" value=" " disabled="disabled">
<input type="reset" id="reset" value=" " disabled="disabled">
</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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="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>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="../../../com/fazecast/jSerialComm/package-summary.html">com.fazecast.jSerialComm</a></div>
<h2 title="Interface SerialPortMessageListener" class="title">Interface SerialPortMessageListener</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/9/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util">EventListener</a></code>, <code><a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm">SerialPortDataListener</a></code></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SerialPortMessageListener</span>
extends <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm">SerialPortDataListener</a></pre>
<div class="block">This interface must be implemented to enable delimited message reads using event-based serial port I/O.
<p>
<i>Note</i>: Using this interface will negate any serial port read timeout settings since they make no sense in an asynchronous context.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><code>SerialPortDataListener</code></a>,
<a href="https://docs.oracle.com/javase/9/docs/api/java/util/EventListener.html?is-external=true" title="class or interface in java.util"><code>EventListener</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></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>
<tr id="i0" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html#delimiterIndicatesEndOfMessage--">delimiterIndicatesEndOfMessage</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Must be overridden to return whether the message delimiter indicates the end or the beginning of a message.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html#getMessageDelimiter--">getMessageDelimiter</a></span>&#8203;()</code></th>
<td class="colLast">
<div class="block">Must be overridden to return the expected message delimiter bytes that <b>must</b> be encountered before the <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-"><code>SerialPortDataListener.serialEvent(SerialPortEvent)</code></a> callback is triggered.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.fazecast.jSerialComm.SerialPortDataListener">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;com.fazecast.jSerialComm.<a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm">SerialPortDataListener</a></h3>
<code><a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html#getListeningEvents--">getListeningEvents</a>, <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-">serialEvent</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getMessageDelimiter--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessageDelimiter</h4>
<pre>byte[]&nbsp;getMessageDelimiter&#8203;()</pre>
<div class="block">Must be overridden to return the expected message delimiter bytes that <b>must</b> be encountered before the <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-"><code>SerialPortDataListener.serialEvent(SerialPortEvent)</code></a> callback is triggered.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A byte array containing the expected message delimiters that must be encountered before the <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-"><code>SerialPortDataListener.serialEvent(SerialPortEvent)</code></a> callback is triggered.</dd>
</dl>
</li>
</ul>
<a name="delimiterIndicatesEndOfMessage--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>delimiterIndicatesEndOfMessage</h4>
<pre>boolean&nbsp;delimiterIndicatesEndOfMessage&#8203;()</pre>
<div class="block">Must be overridden to return whether the message delimiter indicates the end or the beginning of a message.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A boolean indicating whether the message delimiter indicates the end or the beginning of a message.</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="../../../com/fazecast/jSerialComm/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-all.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/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/fazecast/jSerialComm/SerialPortMessageListener.html" target="_top">Frames</a></li>
<li><a href="SerialPortMessageListener.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPortPacketListener (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortPacketListener (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortPacketListener (jSerialComm 2.4.2 API)";
parent.document.title="SerialPortPacketListener (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -57,7 +57,7 @@ var pathtoroot = "../../../";loadScripts(document, 'script');</script>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortTimeoutException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
@ -226,7 +226,7 @@ extends <a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html"
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/fazecast/jSerialComm/SerialPortTimeoutException.html" title="class in com.fazecast.jSerialComm"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>SerialPortTimeoutException (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>SerialPortTimeoutException (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SerialPortTimeoutException (jSerialComm 2.4.2 API)";
parent.document.title="SerialPortTimeoutException (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>com.fazecast.jSerialComm (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>com.fazecast.jSerialComm (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -23,6 +23,7 @@
<h2 title="Interfaces">Interfaces</h2>
<ul title="Interfaces">
<li><a href="SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortDataListener</span></a></li>
<li><a href="SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortMessageListener</span></a></li>
<li><a href="SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm" target="classFrame"><span class="interfaceName">SerialPortPacketListener</span></a></li>
</ul>
<h2 title="Classes">Classes</h2>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>com.fazecast.jSerialComm (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>com.fazecast.jSerialComm (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.fazecast.jSerialComm (jSerialComm 2.4.2 API)";
parent.document.title="com.fazecast.jSerialComm (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -112,6 +112,12 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm">SerialPortMessageListener</a></th>
<td class="colLast">
<div class="block">This interface must be implemented to enable delimited message reads using event-based serial port I/O.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm">SerialPortPacketListener</a></th>
<td class="colLast">
<div class="block">This interface must be implemented to enable full packet reads using event-based serial port I/O.</div>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>com.fazecast.jSerialComm Class Hierarchy (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>com.fazecast.jSerialComm Class Hierarchy (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="com.fazecast.jSerialComm Class Hierarchy (jSerialComm 2.4.2 API)";
parent.document.title="com.fazecast.jSerialComm Class Hierarchy (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -133,6 +133,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<ul>
<li class="circle">com.fazecast.jSerialComm.<a href="../../../com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortDataListener</span></a>
<ul>
<li class="circle">com.fazecast.jSerialComm.<a href="../../../com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortMessageListener</span></a></li>
<li class="circle">com.fazecast.jSerialComm.<a href="../../../com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortPacketListener</span></a></li>
</ul>
</li>

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>Constant Field Values (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>Constant Field Values (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (jSerialComm 2.4.2 API)";
parent.document.title="Constant Field Values (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:39 CST 2019 -->
<title>Deprecated List (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>Deprecated List (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (jSerialComm 2.4.2 API)";
parent.document.title="Deprecated List (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:39 CST 2019 -->
<title>API Help (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>API Help (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (jSerialComm 2.4.2 API)";
parent.document.title="API Help (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>Index (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>Index (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (jSerialComm 2.4.2 API)";
parent.document.title="Index (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -146,6 +146,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
</a>
<h2 class="title">D</h2>
<dl>
<dt><span class="memberNameLink"><a href="com/fazecast/jSerialComm/SerialPortMessageListener.html#delimiterIndicatesEndOfMessage--">delimiterIndicatesEndOfMessage()</a></span> - Method in interface com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm">SerialPortMessageListener</a></dt>
<dd>
<div class="block">Must be overridden to return whether the message delimiter indicates the end or the beginning of a message.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/fazecast/jSerialComm/SerialPort.html#disablePortConfiguration--">disablePortConfiguration()</a></span> - Method in class com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPort.html" title="class in com.fazecast.jSerialComm">SerialPort</a></dt>
<dd>
<div class="block">Disables the library from calling any of the underlying device driver configuration methods.</div>
@ -228,6 +232,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<dd>
<div class="block">Must be overridden to return one or more desired event constants for which the <a href="com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-"><code>SerialPortDataListener.serialEvent(SerialPortEvent)</code></a> callback should be triggered.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/fazecast/jSerialComm/SerialPortMessageListener.html#getMessageDelimiter--">getMessageDelimiter()</a></span> - Method in interface com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm">SerialPortMessageListener</a></dt>
<dd>
<div class="block">Must be overridden to return the expected message delimiter bytes that <b>must</b> be encountered before the <a href="com/fazecast/jSerialComm/SerialPortDataListener.html#serialEvent-com.fazecast.jSerialComm.SerialPortEvent-"><code>SerialPortDataListener.serialEvent(SerialPortEvent)</code></a> callback is triggered.</div>
</dd>
<dt><span class="memberNameLink"><a href="com/fazecast/jSerialComm/SerialPort.html#getNumDataBits--">getNumDataBits()</a></span> - Method in class com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPort.html" title="class in com.fazecast.jSerialComm">SerialPort</a></dt>
<dd>
<div class="block">Gets the current number of data bits per word.</div>
@ -403,6 +411,10 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<div class="block">Constructs a <a href="com/fazecast/jSerialComm/SerialPortIOException.html" title="class in com.fazecast.jSerialComm"><code>SerialPortIOException</code></a> with the specified cause and a detail message of <code>(cause==null ? null : cause.toString()) </code>
(which typically contains the class and detail message of <code>cause</code>).</div>
</dd>
<dt><a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortMessageListener</span></a> - Interface in <a href="com/fazecast/jSerialComm/package-summary.html">com.fazecast.jSerialComm</a></dt>
<dd>
<div class="block">This interface must be implemented to enable delimited message reads using event-based serial port I/O.</div>
</dd>
<dt><a href="com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortPacketListener</span></a> - Interface in <a href="com/fazecast/jSerialComm/package-summary.html">com.fazecast.jSerialComm</a></dt>
<dd>
<div class="block">This interface must be implemented to enable full packet reads using event-based serial port I/O.</div>

View File

@ -2,8 +2,8 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:39 CST 2019 -->
<title>jSerialComm 2.4.2 API</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:20 CDT 2019 -->
<title>jSerialComm 2.5.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">

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>Class Hierarchy (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>Class Hierarchy (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Class Hierarchy (jSerialComm 2.4.2 API)";
parent.document.title="Class Hierarchy (jSerialComm 2.5.0 API)";
}
}
catch(err) {
@ -137,6 +137,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
<ul>
<li class="circle">com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPortDataListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortDataListener</span></a>
<ul>
<li class="circle">com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPortMessageListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortMessageListener</span></a></li>
<li class="circle">com.fazecast.jSerialComm.<a href="com/fazecast/jSerialComm/SerialPortPacketListener.html" title="interface in com.fazecast.jSerialComm"><span class="typeNameLink">SerialPortPacketListener</span></a></li>
</ul>
</li>

Binary file not shown.

View File

@ -2,10 +2,10 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9.0.4) on Thu Mar 07 13:59:38 CST 2019 -->
<title>Serialized Form (jSerialComm 2.4.2 API)</title>
<!-- Generated by javadoc (9.0.4) on Wed Mar 20 13:30:19 CDT 2019 -->
<title>Serialized Form (jSerialComm 2.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2019-03-07">
<meta name="date" content="2019-03-20">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="script.js"></script>
@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Serialized Form (jSerialComm 2.4.2 API)";
parent.document.title="Serialized Form (jSerialComm 2.5.0 API)";
}
}
catch(err) {

View File

@ -1 +1 @@
typeSearchIndex = [{"p":"com.fazecast.jSerialComm","l":"SerialPort"},{"p":"com.fazecast.jSerialComm","l":"SerialPortDataListener"},{"p":"com.fazecast.jSerialComm","l":"SerialPortEvent"},{"p":"com.fazecast.jSerialComm","l":"SerialPortIOException"},{"p":"com.fazecast.jSerialComm","l":"SerialPortPacketListener"},{"p":"com.fazecast.jSerialComm","l":"SerialPortTimeoutException"}]
typeSearchIndex = [{"p":"com.fazecast.jSerialComm","l":"SerialPort"},{"p":"com.fazecast.jSerialComm","l":"SerialPortDataListener"},{"p":"com.fazecast.jSerialComm","l":"SerialPortEvent"},{"p":"com.fazecast.jSerialComm","l":"SerialPortIOException"},{"p":"com.fazecast.jSerialComm","l":"SerialPortMessageListener"},{"p":"com.fazecast.jSerialComm","l":"SerialPortPacketListener"},{"p":"com.fazecast.jSerialComm","l":"SerialPortTimeoutException"}]

Binary file not shown.