source: branches/objectmq_old/lib/rabbitmq-java-client-javadoc-3.0.1/com/rabbitmq/client/impl/ValueReader.html

Last change on this file was 9, checked in by stoda, 12 years ago

First commit

File size: 14.6 KB
Line 
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_18) on Tue Dec 11 11:47:11 GMT 2012 -->
6<TITLE>
7ValueReader
8</TITLE>
9
10<META NAME="date" CONTENT="2012-12-11">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="ValueReader";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47  </TR>
48</TABLE>
49</TD>
50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51</EM>
52</TD>
53</TR>
54
55<TR>
56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/TruncatedInputStream.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
58&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/ValueWriter.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60  <A HREF="../../../../index.html?com/rabbitmq/client/impl/ValueReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61&nbsp;<A HREF="ValueReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62&nbsp;<SCRIPT type="text/javascript">
63  <!--
64  if(window==top) {
65    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66  }
67  //-->
68</SCRIPT>
69<NOSCRIPT>
70  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
71</NOSCRIPT>
72
73
74</FONT></TD>
75</TR>
76<TR>
77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
81</TR>
82</TABLE>
83<A NAME="skip-navbar_top"></A>
84<!-- ========= END OF TOP NAVBAR ========= -->
85
86<HR>
87<!-- ======== START OF CLASS DATA ======== -->
88<H2>
89<FONT SIZE="-1">
90com.rabbitmq.client.impl</FONT>
91<BR>
92Class ValueReader</H2>
93<PRE>
94java.lang.Object
95  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.impl.ValueReader</B>
96</PRE>
97<HR>
98<DL>
99<DT><PRE>public class <B>ValueReader</B><DT>extends java.lang.Object</DL>
100</PRE>
101
102<P>
103Helper class to read AMQP wire-protocol encoded values.
104<P>
105
106<P>
107<HR>
108
109<P>
110
111<!-- ======== CONSTRUCTOR SUMMARY ======== -->
112
113<A NAME="constructor_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>Constructor Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#ValueReader(java.io.DataInputStream)">ValueReader</A></B>(java.io.DataInputStream&nbsp;in)</CODE>
121
122<BR>
123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a MethodArgumentReader streaming over the given DataInputStream.</TD>
124</TR>
125</TABLE>
126&nbsp;
127<!-- ========== METHOD SUMMARY =========== -->
128
129<A NAME="method_summary"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133<B>Method Summary</B></FONT></TH>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137<CODE>&nbsp;int</CODE></FONT></TD>
138<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readLong()">readLong</A></B>()</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads an integer.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>&nbsp;long</CODE></FONT></TD>
146<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readLonglong()">readLonglong</A></B>()</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads a long integer.</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="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A></CODE></FONT></TD>
154<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readLongstr()">readLongstr</A></B>()</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads a long string.</TD>
158</TR>
159<TR BGCOLOR="white" CLASS="TableRowColor">
160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
161<CODE>&nbsp;int</CODE></FONT></TD>
162<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readOctet()">readOctet</A></B>()</CODE>
163
164<BR>
165&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads an octet.</TD>
166</TR>
167<TR BGCOLOR="white" CLASS="TableRowColor">
168<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169<CODE>&nbsp;int</CODE></FONT></TD>
170<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readShort()">readShort</A></B>()</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads a short integer.</TD>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
178<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readShortstr()">readShortstr</A></B>()</CODE>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads a short string.</TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>&nbsp;java.util.Map&lt;java.lang.String,java.lang.Object&gt;</CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readTable()">readTable</A></B>()</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads a table.</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>&nbsp;java.util.Date</CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/ValueReader.html#readTimestamp()">readTimestamp</A></B>()</CODE>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Public API - reads an timestamp.</TD>
198</TR>
199</TABLE>
200&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
201<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
202<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
203<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
207</TR>
208</TABLE>
209&nbsp;
210<P>
211
212<!-- ========= CONSTRUCTOR DETAIL ======== -->
213
214<A NAME="constructor_detail"><!-- --></A>
215<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
216<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
217<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
218<B>Constructor Detail</B></FONT></TH>
219</TR>
220</TABLE>
221
222<A NAME="ValueReader(java.io.DataInputStream)"><!-- --></A><H3>
223ValueReader</H3>
224<PRE>
225public <B>ValueReader</B>(java.io.DataInputStream&nbsp;in)</PRE>
226<DL>
227<DD>Construct a MethodArgumentReader streaming over the given DataInputStream.
228<P>
229</DL>
230
231<!-- ============ METHOD DETAIL ========== -->
232
233<A NAME="method_detail"><!-- --></A>
234<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
235<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
236<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
237<B>Method Detail</B></FONT></TH>
238</TR>
239</TABLE>
240
241<A NAME="readShortstr()"><!-- --></A><H3>
242readShortstr</H3>
243<PRE>
244public final java.lang.String <B>readShortstr</B>()
245                                    throws java.io.IOException</PRE>
246<DL>
247<DD>Public API - reads a short string.
248<P>
249<DD><DL>
250
251<DT><B>Throws:</B>
252<DD><CODE>java.io.IOException</CODE></DL>
253</DD>
254</DL>
255<HR>
256
257<A NAME="readLongstr()"><!-- --></A><H3>
258readLongstr</H3>
259<PRE>
260public final <A HREF="../../../../com/rabbitmq/client/LongString.html" title="interface in com.rabbitmq.client">LongString</A> <B>readLongstr</B>()
261                             throws java.io.IOException</PRE>
262<DL>
263<DD>Public API - reads a long string.
264<P>
265<DD><DL>
266
267<DT><B>Throws:</B>
268<DD><CODE>java.io.IOException</CODE></DL>
269</DD>
270</DL>
271<HR>
272
273<A NAME="readShort()"><!-- --></A><H3>
274readShort</H3>
275<PRE>
276public final int <B>readShort</B>()
277                    throws java.io.IOException</PRE>
278<DL>
279<DD>Public API - reads a short integer.
280<P>
281<DD><DL>
282
283<DT><B>Throws:</B>
284<DD><CODE>java.io.IOException</CODE></DL>
285</DD>
286</DL>
287<HR>
288
289<A NAME="readLong()"><!-- --></A><H3>
290readLong</H3>
291<PRE>
292public final int <B>readLong</B>()
293                   throws java.io.IOException</PRE>
294<DL>
295<DD>Public API - reads an integer.
296<P>
297<DD><DL>
298
299<DT><B>Throws:</B>
300<DD><CODE>java.io.IOException</CODE></DL>
301</DD>
302</DL>
303<HR>
304
305<A NAME="readLonglong()"><!-- --></A><H3>
306readLonglong</H3>
307<PRE>
308public final long <B>readLonglong</B>()
309                        throws java.io.IOException</PRE>
310<DL>
311<DD>Public API - reads a long integer.
312<P>
313<DD><DL>
314
315<DT><B>Throws:</B>
316<DD><CODE>java.io.IOException</CODE></DL>
317</DD>
318</DL>
319<HR>
320
321<A NAME="readTable()"><!-- --></A><H3>
322readTable</H3>
323<PRE>
324public final java.util.Map&lt;java.lang.String,java.lang.Object&gt; <B>readTable</B>()
325                                                                 throws java.io.IOException</PRE>
326<DL>
327<DD>Public API - reads a table.
328<P>
329<DD><DL>
330
331<DT><B>Throws:</B>
332<DD><CODE>java.io.IOException</CODE></DL>
333</DD>
334</DL>
335<HR>
336
337<A NAME="readOctet()"><!-- --></A><H3>
338readOctet</H3>
339<PRE>
340public final int <B>readOctet</B>()
341                    throws java.io.IOException</PRE>
342<DL>
343<DD>Public API - reads an octet.
344<P>
345<DD><DL>
346
347<DT><B>Throws:</B>
348<DD><CODE>java.io.IOException</CODE></DL>
349</DD>
350</DL>
351<HR>
352
353<A NAME="readTimestamp()"><!-- --></A><H3>
354readTimestamp</H3>
355<PRE>
356public final java.util.Date <B>readTimestamp</B>()
357                                   throws java.io.IOException</PRE>
358<DL>
359<DD>Public API - reads an timestamp.
360<P>
361<DD><DL>
362
363<DT><B>Throws:</B>
364<DD><CODE>java.io.IOException</CODE></DL>
365</DD>
366</DL>
367<!-- ========= END OF CLASS DATA ========= -->
368<HR>
369
370
371<!-- ======= START OF BOTTOM NAVBAR ====== -->
372<A NAME="navbar_bottom"><!-- --></A>
373<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
374<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
375<TR>
376<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
377<A NAME="navbar_bottom_firstrow"><!-- --></A>
378<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
379  <TR ALIGN="center" VALIGN="top">
380  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
381  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
382  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
383  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
384  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
385  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
386  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
387  </TR>
388</TABLE>
389</TD>
390<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
391</EM>
392</TD>
393</TR>
394
395<TR>
396<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
397&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/TruncatedInputStream.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A>&nbsp;
398&nbsp;<A HREF="../../../../com/rabbitmq/client/impl/ValueWriter.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD>
399<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
400  <A HREF="../../../../index.html?com/rabbitmq/client/impl/ValueReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
401&nbsp;<A HREF="ValueReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
402&nbsp;<SCRIPT type="text/javascript">
403  <!--
404  if(window==top) {
405    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
406  }
407  //-->
408</SCRIPT>
409<NOSCRIPT>
410  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
411</NOSCRIPT>
412
413
414</FONT></TD>
415</TR>
416<TR>
417<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
418  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
419<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
420DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
421</TR>
422</TABLE>
423<A NAME="skip-navbar_bottom"></A>
424<!-- ======== END OF BOTTOM NAVBAR ======= -->
425
426<HR>
427
428</BODY>
429</HTML>
Note: See TracBrowser for help on using the repository browser.