AcmAsyncInputStream.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0_20) on Thu Apr 26 18:24:31 CEST 2012 -->
  6. <TITLE>
  7. AcmAsyncInputStream
  8. </TITLE>
  9. <META NAME="date" CONTENT="2012-04-26">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="AcmAsyncInputStream";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. </EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;PREV CLASS&nbsp;
  50. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html" title="class in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/AcmAsyncInputStream.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="AcmAsyncInputStream.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.ros.android.android_acm_serial</FONT>
  80. <BR>
  81. Class AcmAsyncInputStream</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.io.InputStream
  85. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.ros.android.android_acm_serial.AcmAsyncInputStream</B>
  86. </PRE>
  87. <DL>
  88. <DT><B>All Implemented Interfaces:</B> <DD>java.io.Closeable</DD>
  89. </DL>
  90. <HR>
  91. <DL>
  92. <DT><PRE>public class <B>AcmAsyncInputStream</B><DT>extends java.io.InputStream</DL>
  93. </PRE>
  94. <P>
  95. <HR>
  96. <P>
  97. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  98. <A NAME="constructor_summary"><!-- --></A>
  99. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  100. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  101. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  102. <B>Constructor Summary</B></FONT></TH>
  103. </TR>
  104. <TR BGCOLOR="white" CLASS="TableRowColor">
  105. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html#AcmAsyncInputStream(org.ros.android.android_acm_serial.UsbRequestPool, UsbEndpoint)">AcmAsyncInputStream</A></B>(org.ros.android.android_acm_serial.UsbRequestPool&nbsp;usbRequestPool,
  106. UsbEndpoint&nbsp;endpoint)</CODE>
  107. <BR>
  108. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  109. </TR>
  110. </TABLE>
  111. &nbsp;
  112. <!-- ========== METHOD SUMMARY =========== -->
  113. <A NAME="method_summary"><!-- --></A>
  114. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  115. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  116. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  117. <B>Method Summary</B></FONT></TH>
  118. </TR>
  119. <TR BGCOLOR="white" CLASS="TableRowColor">
  120. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  121. <CODE>&nbsp;void</CODE></FONT></TD>
  122. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html#close()">close</A></B>()</CODE>
  123. <BR>
  124. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  128. <CODE>&nbsp;int</CODE></FONT></TD>
  129. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html#read()">read</A></B>()</CODE>
  130. <BR>
  131. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  132. </TR>
  133. <TR BGCOLOR="white" CLASS="TableRowColor">
  134. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  135. <CODE>&nbsp;int</CODE></FONT></TD>
  136. <TD><CODE><B><A HREF="../../../../org/ros/android/android_acm_serial/AcmAsyncInputStream.html#read(byte[], int, int)">read</A></B>(byte[]&nbsp;buffer,
  137. int&nbsp;offset,
  138. int&nbsp;count)</CODE>
  139. <BR>
  140. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  141. </TR>
  142. </TABLE>
  143. &nbsp;<A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A>
  144. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  145. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  146. <TH ALIGN="left"><B>Methods inherited from class java.io.InputStream</B></TH>
  147. </TR>
  148. <TR BGCOLOR="white" CLASS="TableRowColor">
  149. <TD><CODE>available, mark, markSupported, read, reset, skip</CODE></TD>
  150. </TR>
  151. </TABLE>
  152. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  153. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  154. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  155. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  156. </TR>
  157. <TR BGCOLOR="white" CLASS="TableRowColor">
  158. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  159. </TR>
  160. </TABLE>
  161. &nbsp;
  162. <P>
  163. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  164. <A NAME="constructor_detail"><!-- --></A>
  165. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  166. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  167. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  168. <B>Constructor Detail</B></FONT></TH>
  169. </TR>
  170. </TABLE>
  171. <A NAME="AcmAsyncInputStream(org.ros.android.android_acm_serial.UsbRequestPool, UsbEndpoint)"><!-- --></A><H3>
  172. AcmAsyncInputStream</H3>
  173. <PRE>
  174. public <B>AcmAsyncInputStream</B>(org.ros.android.android_acm_serial.UsbRequestPool&nbsp;usbRequestPool,
  175. UsbEndpoint&nbsp;endpoint)</PRE>
  176. <DL>
  177. </DL>
  178. <!-- ============ METHOD DETAIL ========== -->
  179. <A NAME="method_detail"><!-- --></A>
  180. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  181. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  182. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  183. <B>Method Detail</B></FONT></TH>
  184. </TR>
  185. </TABLE>
  186. <A NAME="close()"><!-- --></A><H3>
  187. close</H3>
  188. <PRE>
  189. public void <B>close</B>()
  190. throws java.io.IOException</PRE>
  191. <DL>
  192. <DD><DL>
  193. <DT><B>Specified by:</B><DD><CODE>close</CODE> in interface <CODE>java.io.Closeable</CODE><DT><B>Overrides:</B><DD><CODE>close</CODE> in class <CODE>java.io.InputStream</CODE></DL>
  194. </DD>
  195. <DD><DL>
  196. <DT><B>Throws:</B>
  197. <DD><CODE>java.io.IOException</CODE></DL>
  198. </DD>
  199. </DL>
  200. <HR>
  201. <A NAME="read(byte[], int, int)"><!-- --></A><H3>
  202. read</H3>
  203. <PRE>
  204. public int <B>read</B>(byte[]&nbsp;buffer,
  205. int&nbsp;offset,
  206. int&nbsp;count)
  207. throws java.io.IOException</PRE>
  208. <DL>
  209. <DD><DL>
  210. <DT><B>Overrides:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
  211. </DD>
  212. <DD><DL>
  213. <DT><B>Throws:</B>
  214. <DD><CODE>java.io.IOException</CODE></DL>
  215. </DD>
  216. </DL>
  217. <HR>
  218. <A NAME="read()"><!-- --></A><H3>
  219. read</H3>
  220. <PRE>
  221. public int <B>read</B>()
  222. throws java.io.IOException</PRE>
  223. <DL>
  224. <DD><DL>
  225. <DT><B>Specified by:</B><DD><CODE>read</CODE> in class <CODE>java.io.InputStream</CODE></DL>
  226. </DD>
  227. <DD><DL>
  228. <DT><B>Throws:</B>
  229. <DD><CODE>java.io.IOException</CODE></DL>
  230. </DD>
  231. </DL>
  232. <!-- ========= END OF CLASS DATA ========= -->
  233. <HR>
  234. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  235. <A NAME="navbar_bottom"><!-- --></A>
  236. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  237. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  238. <TR>
  239. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  240. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  241. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  242. <TR ALIGN="center" VALIGN="top">
  243. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  244. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  245. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  246. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  247. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  248. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  249. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  250. </TR>
  251. </TABLE>
  252. </TD>
  253. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  254. </EM>
  255. </TD>
  256. </TR>
  257. <TR>
  258. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  259. &nbsp;PREV CLASS&nbsp;
  260. &nbsp;<A HREF="../../../../org/ros/android/android_acm_serial/AcmDevice.html" title="class in org.ros.android.android_acm_serial"><B>NEXT CLASS</B></A></FONT></TD>
  261. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  262. <A HREF="../../../../index.html?org/ros/android/android_acm_serial/AcmAsyncInputStream.html" target="_top"><B>FRAMES</B></A> &nbsp;
  263. &nbsp;<A HREF="AcmAsyncInputStream.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  264. &nbsp;<SCRIPT type="text/javascript">
  265. <!--
  266. if(window==top) {
  267. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  268. }
  269. //-->
  270. </SCRIPT>
  271. <NOSCRIPT>
  272. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  273. </NOSCRIPT>
  274. </FONT></TD>
  275. </TR>
  276. <TR>
  277. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  278. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  279. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  280. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  281. </TR>
  282. </TABLE>
  283. <A NAME="skip-navbar_bottom"></A>
  284. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  285. <HR>
  286. </BODY>
  287. </HTML>