OSDN Git Service

221af4eeb9784259a3156ae380329636aebc80c6
[nxt-jsp/lejos_nxj.git] / nxtOSEK / lejos_nxj / docs / apidocs / lejos / nxt / comm / BTConnection.html
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.5.0_09) on Sun Sep 02 23:07:09 BST 2007 -->
6 <TITLE>
7 BTConnection (leJOS NXT API documentation)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="lejos.nxt.comm.BTConnection class">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17     parent.document.title="BTConnection (leJOS NXT API documentation)";
18 }
19 </SCRIPT>
20 <NOSCRIPT>
21 </NOSCRIPT>
22
23 </HEAD>
24
25 <BODY BGCOLOR="white" onload="windowTitle();">
26
27
28 <!-- ========= START OF TOP NAVBAR ======= -->
29 <A NAME="navbar_top"><!-- --></A>
30 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32 <TR>
33 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34 <A NAME="navbar_top_firstrow"><!-- --></A>
35 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36   <TR ALIGN="center" VALIGN="top">
37   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44   </TR>
45 </TABLE>
46 </TD>
47 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48 </EM>
49 </TD>
50 </TR>
51
52 <TR>
53 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54 &nbsp;<A HREF="../../../lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>&nbsp;
55 &nbsp;<A HREF="../../../lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57   <A HREF="../../../index.html?lejos/nxt/comm/BTConnection.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58 &nbsp;<A HREF="BTConnection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59 &nbsp;<SCRIPT type="text/javascript">
60   <!--
61   if(window==top) {
62     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
63   }
64   //-->
65 </SCRIPT>
66 <NOSCRIPT>
67   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
68 </NOSCRIPT>
69
70
71 </FONT></TD>
72 </TR>
73 <TR>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78 </TR>
79 </TABLE>
80 <A NAME="skip-navbar_top"></A>
81 <!-- ========= END OF TOP NAVBAR ========= -->
82
83 <HR>
84 <!-- ======== START OF CLASS DATA ======== -->
85 <H2>
86 <FONT SIZE="-1">
87 lejos.nxt.comm</FONT>
88 <BR>
89 Class BTConnection</H2>
90 <PRE>
91 <A HREF="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</A>
92   <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>lejos.nxt.comm.BTConnection</B>
93 </PRE>
94 <DL>
95 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></DD>
96 </DL>
97 <HR>
98 <DL>
99 <DT><PRE>public class <B>BTConnection</B><DT>extends <A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A><DT>implements <A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></DL>
100 </PRE>
101
102 <P>
103 Represents a Bluetooth Stream Connection.
104 <P>
105
106 <P>
107 <HR>
108
109 <P>
110
111 <!-- ========== METHOD SUMMARY =========== -->
112
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="../../../lejos/nxt/comm/BTConnection.html#close()">close</A></B>()</CODE>
123
124 <BR>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close the stream connection</TD>
126 </TR>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129 <CODE>&nbsp;<A HREF="../../../java/io/DataInputStream.html" title="class in java.io">DataInputStream</A></CODE></FONT></TD>
130 <TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTConnection.html#openDataInputStream()">openDataInputStream</A></B>()</CODE>
131
132 <BR>
133 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open and return a DataInputStream - not yet implemented.</TD>
134 </TR>
135 <TR BGCOLOR="white" CLASS="TableRowColor">
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137 <CODE>&nbsp;<A HREF="../../../java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A></CODE></FONT></TD>
138 <TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTConnection.html#openDataOutputStream()">openDataOutputStream</A></B>()</CODE>
139
140 <BR>
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open and return a DataOutputStream - not yet implemented.</TD>
142 </TR>
143 <TR BGCOLOR="white" CLASS="TableRowColor">
144 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145 <CODE>&nbsp;<A HREF="../../../java/io/InputStream.html" title="class in java.io">InputStream</A></CODE></FONT></TD>
146 <TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTConnection.html#openInputStream()">openInputStream</A></B>()</CODE>
147
148 <BR>
149 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open and return an InputStream - not yet implemented.</TD>
150 </TR>
151 <TR BGCOLOR="white" CLASS="TableRowColor">
152 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153 <CODE>&nbsp;<A HREF="../../../java/io/OutputStream.html" title="class in java.io">OutputStream</A></CODE></FONT></TD>
154 <TD><CODE><B><A HREF="../../../lejos/nxt/comm/BTConnection.html#openOutputStream()">openOutputStream</A></B>()</CODE>
155
156 <BR>
157 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Open and return an OutputStream - not yet implemented.</TD>
158 </TR>
159 </TABLE>
160 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
161 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
163 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="../../../java/lang/Object.html" title="class in java.lang">Object</A></B></TH>
164 </TR>
165 <TR BGCOLOR="white" CLASS="TableRowColor">
166 <TD><CODE><A HREF="../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A></CODE></TD>
167 </TR>
168 </TABLE>
169 &nbsp;
170 <P>
171
172 <!-- ============ METHOD DETAIL ========== -->
173
174 <A NAME="method_detail"><!-- --></A>
175 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
178 <B>Method Detail</B></FONT></TH>
179 </TR>
180 </TABLE>
181
182 <A NAME="close()"><!-- --></A><H3>
183 close</H3>
184 <PRE>
185 public void <B>close</B>()
186            throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
187 <DL>
188 <DD><B>Description copied from interface: <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#close()">StreamConnection</A></CODE></B></DD>
189 <DD>Close the stream connection
190 <P>
191 <DD><DL>
192 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></CODE></DL>
193 </DD>
194 <DD><DL>
195
196 <DT><B>Throws:</B>
197 <DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
198 </DD>
199 </DL>
200 <HR>
201
202 <A NAME="openDataInputStream()"><!-- --></A><H3>
203 openDataInputStream</H3>
204 <PRE>
205 public <A HREF="../../../java/io/DataInputStream.html" title="class in java.io">DataInputStream</A> <B>openDataInputStream</B>()
206                                     throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
207 <DL>
208 <DD><B>Description copied from interface: <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openDataInputStream()">StreamConnection</A></CODE></B></DD>
209 <DD>Open and return a DataInputStream - not yet implemented.
210 <P>
211 <DD><DL>
212 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openDataInputStream()">openDataInputStream</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></CODE></DL>
213 </DD>
214 <DD><DL>
215
216 <DT><B>Throws:</B>
217 <DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
218 </DD>
219 </DL>
220 <HR>
221
222 <A NAME="openDataOutputStream()"><!-- --></A><H3>
223 openDataOutputStream</H3>
224 <PRE>
225 public <A HREF="../../../java/io/DataOutputStream.html" title="class in java.io">DataOutputStream</A> <B>openDataOutputStream</B>()
226                                       throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
227 <DL>
228 <DD><B>Description copied from interface: <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openDataOutputStream()">StreamConnection</A></CODE></B></DD>
229 <DD>Open and return a DataOutputStream - not yet implemented.
230 <P>
231 <DD><DL>
232 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openDataOutputStream()">openDataOutputStream</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></CODE></DL>
233 </DD>
234 <DD><DL>
235
236 <DT><B>Throws:</B>
237 <DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
238 </DD>
239 </DL>
240 <HR>
241
242 <A NAME="openInputStream()"><!-- --></A><H3>
243 openInputStream</H3>
244 <PRE>
245 public <A HREF="../../../java/io/InputStream.html" title="class in java.io">InputStream</A> <B>openInputStream</B>()
246                             throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
247 <DL>
248 <DD><B>Description copied from interface: <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openInputStream()">StreamConnection</A></CODE></B></DD>
249 <DD>Open and return an InputStream - not yet implemented.
250 <P>
251 <DD><DL>
252 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openInputStream()">openInputStream</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></CODE></DL>
253 </DD>
254 <DD><DL>
255
256 <DT><B>Throws:</B>
257 <DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
258 </DD>
259 </DL>
260 <HR>
261
262 <A NAME="openOutputStream()"><!-- --></A><H3>
263 openOutputStream</H3>
264 <PRE>
265 public <A HREF="../../../java/io/OutputStream.html" title="class in java.io">OutputStream</A> <B>openOutputStream</B>()
266                               throws <A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></PRE>
267 <DL>
268 <DD><B>Description copied from interface: <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openOutputStream()">StreamConnection</A></CODE></B></DD>
269 <DD>Open and return an OutputStream - not yet implemented.
270 <P>
271 <DD><DL>
272 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/microedition/io/StreamConnection.html#openOutputStream()">openOutputStream</A></CODE> in interface <CODE><A HREF="../../../javax/microedition/io/StreamConnection.html" title="interface in javax.microedition.io">StreamConnection</A></CODE></DL>
273 </DD>
274 <DD><DL>
275
276 <DT><B>Throws:</B>
277 <DD><CODE><A HREF="../../../java/io/IOException.html" title="class in java.io">IOException</A></CODE></DL>
278 </DD>
279 </DL>
280 <!-- ========= END OF CLASS DATA ========= -->
281 <HR>
282
283
284 <!-- ======= START OF BOTTOM NAVBAR ====== -->
285 <A NAME="navbar_bottom"><!-- --></A>
286 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
287 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
288 <TR>
289 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
290 <A NAME="navbar_bottom_firstrow"><!-- --></A>
291 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
292   <TR ALIGN="center" VALIGN="top">
293   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
294   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
295   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
296   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
297   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
298   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
299   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
300   </TR>
301 </TABLE>
302 </TD>
303 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
304 </EM>
305 </TD>
306 </TR>
307
308 <TR>
309 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
310 &nbsp;<A HREF="../../../lejos/nxt/comm/Bluetooth.html" title="class in lejos.nxt.comm"><B>PREV CLASS</B></A>&nbsp;
311 &nbsp;<A HREF="../../../lejos/nxt/comm/BTInputStream.html" title="class in lejos.nxt.comm"><B>NEXT CLASS</B></A></FONT></TD>
312 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
313   <A HREF="../../../index.html?lejos/nxt/comm/BTConnection.html" target="_top"><B>FRAMES</B></A>  &nbsp;
314 &nbsp;<A HREF="BTConnection.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
315 &nbsp;<SCRIPT type="text/javascript">
316   <!--
317   if(window==top) {
318     document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
319   }
320   //-->
321 </SCRIPT>
322 <NOSCRIPT>
323   <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
324 </NOSCRIPT>
325
326
327 </FONT></TD>
328 </TR>
329 <TR>
330 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
331   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
332 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
333 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
334 </TR>
335 </TABLE>
336 <A NAME="skip-navbar_bottom"></A>
337 <!-- ======== END OF BOTTOM NAVBAR ======= -->
338
339 <HR>
340
341 </BODY>
342 </HTML>