| 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:10 GMT 2012 --> |
|---|
| 6 | <TITLE> |
|---|
| 7 | AMQChannel |
|---|
| 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"> |
|---|
| 15 | function windowTitle() |
|---|
| 16 | { |
|---|
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
|---|
| 18 | parent.document.title="AMQChannel"; |
|---|
| 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> </TD> |
|---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
|---|
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
|---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
|---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
|---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
|---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../com/rabbitmq/client/impl/AMQBasicProperties.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A> |
|---|
| 58 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.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/AMQChannel.html" target="_top"><B>FRAMES</B></A> |
|---|
| 61 | <A HREF="AMQChannel.html" target="_top"><B>NO FRAMES</B></A> |
|---|
| 62 | <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
|---|
| 79 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|---|
| 80 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> |
|---|
| 90 | com.rabbitmq.client.impl</FONT> |
|---|
| 91 | <BR> |
|---|
| 92 | Class AMQChannel</H2> |
|---|
| 93 | <PRE> |
|---|
| 94 | java.lang.Object |
|---|
| 95 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html" title="class in com.rabbitmq.client.impl">com.rabbitmq.client.impl.ShutdownNotifierComponent</A> |
|---|
| 96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.rabbitmq.client.impl.AMQChannel</B> |
|---|
| 97 | </PRE> |
|---|
| 98 | <DL> |
|---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/rabbitmq/client/ShutdownNotifier.html" title="interface in com.rabbitmq.client">ShutdownNotifier</A></DD> |
|---|
| 100 | </DL> |
|---|
| 101 | <DL> |
|---|
| 102 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/rabbitmq/client/impl/ChannelN.html" title="class in com.rabbitmq.client.impl">ChannelN</A></DD> |
|---|
| 103 | </DL> |
|---|
| 104 | <HR> |
|---|
| 105 | <DL> |
|---|
| 106 | <DT><PRE>public abstract class <B>AMQChannel</B><DT>extends <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html" title="class in com.rabbitmq.client.impl">ShutdownNotifierComponent</A></DL> |
|---|
| 107 | </PRE> |
|---|
| 108 | |
|---|
| 109 | <P> |
|---|
| 110 | Base class modelling an AMQ channel. Subclasses implement |
|---|
| 111 | <A HREF="../../../../com/rabbitmq/client/Channel.html#close()"><CODE>Channel.close()</CODE></A> and |
|---|
| 112 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#processAsync(com.rabbitmq.client.Command)"><CODE>processAsync()</CODE></A>, and may choose to override |
|---|
| 113 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#processShutdownSignal(com.rabbitmq.client.ShutdownSignalException, boolean, boolean)"><CODE>processShutdownSignal()</CODE></A> and |
|---|
| 114 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method)"><CODE>rpc()</CODE></A>. |
|---|
| 115 | <P> |
|---|
| 116 | |
|---|
| 117 | <P> |
|---|
| 118 | <DL> |
|---|
| 119 | <DT><B>See Also:</B><DD><A HREF="../../../../com/rabbitmq/client/impl/ChannelN.html" title="class in com.rabbitmq.client.impl"><CODE>ChannelN</CODE></A>, |
|---|
| 120 | <A HREF="../../../../com/rabbitmq/client/Connection.html" title="interface in com.rabbitmq.client"><CODE>Connection</CODE></A></DL> |
|---|
| 121 | <HR> |
|---|
| 122 | |
|---|
| 123 | <P> |
|---|
| 124 | <!-- ======== NESTED CLASS SUMMARY ======== --> |
|---|
| 125 | |
|---|
| 126 | <A NAME="nested_class_summary"><!-- --></A> |
|---|
| 127 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 128 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 129 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|---|
| 130 | <B>Nested Class Summary</B></FONT></TH> |
|---|
| 131 | </TR> |
|---|
| 132 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 134 | <CODE>static class</CODE></FONT></TD> |
|---|
| 135 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.html" title="class in com.rabbitmq.client.impl">AMQChannel.BlockingRpcContinuation</A><<A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.html" title="type parameter in AMQChannel.BlockingRpcContinuation">T</A>></B></CODE> |
|---|
| 136 | |
|---|
| 137 | <BR> |
|---|
| 138 | </TD> |
|---|
| 139 | </TR> |
|---|
| 140 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 141 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 142 | <CODE>static interface</CODE></FONT></TD> |
|---|
| 143 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A></B></CODE> |
|---|
| 144 | |
|---|
| 145 | <BR> |
|---|
| 146 | </TD> |
|---|
| 147 | </TR> |
|---|
| 148 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 149 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 150 | <CODE>static class</CODE></FONT></TD> |
|---|
| 151 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.SimpleBlockingRpcContinuation.html" title="class in com.rabbitmq.client.impl">AMQChannel.SimpleBlockingRpcContinuation</A></B></CODE> |
|---|
| 152 | |
|---|
| 153 | <BR> |
|---|
| 154 | </TD> |
|---|
| 155 | </TR> |
|---|
| 156 | </TABLE> |
|---|
| 157 | <!-- =========== FIELD SUMMARY =========== --> |
|---|
| 158 | |
|---|
| 159 | <A NAME="field_summary"><!-- --></A> |
|---|
| 160 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 161 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 162 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|---|
| 163 | <B>Field Summary</B></FONT></TH> |
|---|
| 164 | </TR> |
|---|
| 165 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 167 | <CODE> boolean</CODE></FONT></TD> |
|---|
| 168 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#_blockContent">_blockContent</A></B></CODE> |
|---|
| 169 | |
|---|
| 170 | <BR> |
|---|
| 171 | Whether transmission of content-bearing methods should be blocked</TD> |
|---|
| 172 | </TR> |
|---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 175 | <CODE>protected java.lang.Object</CODE></FONT></TD> |
|---|
| 176 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#_channelMutex">_channelMutex</A></B></CODE> |
|---|
| 177 | |
|---|
| 178 | <BR> |
|---|
| 179 | Protected; used instead of synchronizing on the channel itself, |
|---|
| 180 | so that clients can themselves use the channel to synchronize |
|---|
| 181 | on.</TD> |
|---|
| 182 | </TR> |
|---|
| 183 | </TABLE> |
|---|
| 184 | |
|---|
| 185 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
|---|
| 186 | |
|---|
| 187 | <A NAME="constructor_summary"><!-- --></A> |
|---|
| 188 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 189 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 190 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|---|
| 191 | <B>Constructor Summary</B></FONT></TH> |
|---|
| 192 | </TR> |
|---|
| 193 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 194 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#AMQChannel(com.rabbitmq.client.impl.AMQConnection, int)">AMQChannel</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</A> connection, |
|---|
| 195 | int channelNumber)</CODE> |
|---|
| 196 | |
|---|
| 197 | <BR> |
|---|
| 198 | Construct a channel on the given connection, with the given channel number.</TD> |
|---|
| 199 | </TR> |
|---|
| 200 | </TABLE> |
|---|
| 201 | |
|---|
| 202 | <!-- ========== METHOD SUMMARY =========== --> |
|---|
| 203 | |
|---|
| 204 | <A NAME="method_summary"><!-- --></A> |
|---|
| 205 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 206 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 207 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
|---|
| 208 | <B>Method Summary</B></FONT></TH> |
|---|
| 209 | </TR> |
|---|
| 210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 212 | <CODE> void</CODE></FONT></TD> |
|---|
| 213 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#enqueueRpc(com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">enqueueRpc</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k)</CODE> |
|---|
| 214 | |
|---|
| 215 | <BR> |
|---|
| 216 | </TD> |
|---|
| 217 | </TR> |
|---|
| 218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 220 | <CODE> void</CODE></FONT></TD> |
|---|
| 221 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#ensureIsOpen()">ensureIsOpen</A></B>()</CODE> |
|---|
| 222 | |
|---|
| 223 | <BR> |
|---|
| 224 | </TD> |
|---|
| 225 | </TR> |
|---|
| 226 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 228 | <CODE> <A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A></CODE></FONT></TD> |
|---|
| 229 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#exnWrappingRpc(com.rabbitmq.client.Method)">exnWrappingRpc</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m)</CODE> |
|---|
| 230 | |
|---|
| 231 | <BR> |
|---|
| 232 | Placeholder until we address bug 15786 (implementing a proper exception hierarchy).</TD> |
|---|
| 233 | </TR> |
|---|
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 235 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 236 | <CODE> int</CODE></FONT></TD> |
|---|
| 237 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#getChannelNumber()">getChannelNumber</A></B>()</CODE> |
|---|
| 238 | |
|---|
| 239 | <BR> |
|---|
| 240 | Public API - Retrieves this channel's channel number.</TD> |
|---|
| 241 | </TR> |
|---|
| 242 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 243 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 244 | <CODE> <A HREF="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</A></CODE></FONT></TD> |
|---|
| 245 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#getConnection()">getConnection</A></B>()</CODE> |
|---|
| 246 | |
|---|
| 247 | <BR> |
|---|
| 248 | </TD> |
|---|
| 249 | </TR> |
|---|
| 250 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 251 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 252 | <CODE> void</CODE></FONT></TD> |
|---|
| 253 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#handleCompleteInboundCommand(com.rabbitmq.client.impl.AMQCommand)">handleCompleteInboundCommand</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> command)</CODE> |
|---|
| 254 | |
|---|
| 255 | <BR> |
|---|
| 256 | Private API - handle a command which has been assembled</TD> |
|---|
| 257 | </TR> |
|---|
| 258 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 260 | <CODE> void</CODE></FONT></TD> |
|---|
| 261 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#handleFrame(com.rabbitmq.client.impl.Frame)">handleFrame</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/Frame.html" title="class in com.rabbitmq.client.impl">Frame</A> frame)</CODE> |
|---|
| 262 | |
|---|
| 263 | <BR> |
|---|
| 264 | Private API - When the Connection receives a Frame for this |
|---|
| 265 | channel, it passes it to this method.</TD> |
|---|
| 266 | </TR> |
|---|
| 267 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 268 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 269 | <CODE> boolean</CODE></FONT></TD> |
|---|
| 270 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#isOutstandingRpc()">isOutstandingRpc</A></B>()</CODE> |
|---|
| 271 | |
|---|
| 272 | <BR> |
|---|
| 273 | </TD> |
|---|
| 274 | </TR> |
|---|
| 275 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 276 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 277 | <CODE> <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A></CODE></FONT></TD> |
|---|
| 278 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#nextOutstandingRpc()">nextOutstandingRpc</A></B>()</CODE> |
|---|
| 279 | |
|---|
| 280 | <BR> |
|---|
| 281 | </TD> |
|---|
| 282 | </TR> |
|---|
| 283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 284 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 285 | <CODE> void</CODE></FONT></TD> |
|---|
| 286 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#notifyOutstandingRpc(com.rabbitmq.client.ShutdownSignalException)">notifyOutstandingRpc</A></B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> signal)</CODE> |
|---|
| 287 | |
|---|
| 288 | <BR> |
|---|
| 289 | </TD> |
|---|
| 290 | </TR> |
|---|
| 291 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 292 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 293 | <CODE>abstract boolean</CODE></FONT></TD> |
|---|
| 294 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#processAsync(com.rabbitmq.client.Command)">processAsync</A></B>(<A HREF="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</A> command)</CODE> |
|---|
| 295 | |
|---|
| 296 | <BR> |
|---|
| 297 | Protected API - called by nextCommand to check possibly handle an incoming Command before it is returned to the caller of nextCommand.</TD> |
|---|
| 298 | </TR> |
|---|
| 299 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 300 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 301 | <CODE> void</CODE></FONT></TD> |
|---|
| 302 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#processShutdownSignal(com.rabbitmq.client.ShutdownSignalException, boolean, boolean)">processShutdownSignal</A></B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> signal, |
|---|
| 303 | boolean ignoreClosed, |
|---|
| 304 | boolean notifyRpc)</CODE> |
|---|
| 305 | |
|---|
| 306 | <BR> |
|---|
| 307 | Protected API - respond, in the driver thread, to a <A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client"><CODE>ShutdownSignalException</CODE></A>.</TD> |
|---|
| 308 | </TR> |
|---|
| 309 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 311 | <CODE> void</CODE></FONT></TD> |
|---|
| 312 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingRpc(com.rabbitmq.client.Method, com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">quiescingRpc</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m, |
|---|
| 313 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k)</CODE> |
|---|
| 314 | |
|---|
| 315 | <BR> |
|---|
| 316 | </TD> |
|---|
| 317 | </TR> |
|---|
| 318 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 319 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 320 | <CODE> void</CODE></FONT></TD> |
|---|
| 321 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingTransmit(com.rabbitmq.client.impl.AMQCommand)">quiescingTransmit</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> c)</CODE> |
|---|
| 322 | |
|---|
| 323 | <BR> |
|---|
| 324 | </TD> |
|---|
| 325 | </TR> |
|---|
| 326 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 328 | <CODE> void</CODE></FONT></TD> |
|---|
| 329 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#quiescingTransmit(com.rabbitmq.client.Method)">quiescingTransmit</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m)</CODE> |
|---|
| 330 | |
|---|
| 331 | <BR> |
|---|
| 332 | </TD> |
|---|
| 333 | </TR> |
|---|
| 334 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 336 | <CODE> <A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A></CODE></FONT></TD> |
|---|
| 337 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method)">rpc</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m)</CODE> |
|---|
| 338 | |
|---|
| 339 | <BR> |
|---|
| 340 | Protected API - sends a <A HREF="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><CODE>Method</CODE></A> to the broker and waits for the |
|---|
| 341 | next in-bound Command from the broker: only for use from |
|---|
| 342 | non-connection-MainLoop threads!</TD> |
|---|
| 343 | </TR> |
|---|
| 344 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 345 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 346 | <CODE> void</CODE></FONT></TD> |
|---|
| 347 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#rpc(com.rabbitmq.client.Method, com.rabbitmq.client.impl.AMQChannel.RpcContinuation)">rpc</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m, |
|---|
| 348 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k)</CODE> |
|---|
| 349 | |
|---|
| 350 | <BR> |
|---|
| 351 | </TD> |
|---|
| 352 | </TR> |
|---|
| 353 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 354 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 355 | <CODE> java.lang.String</CODE></FONT></TD> |
|---|
| 356 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#toString()">toString</A></B>()</CODE> |
|---|
| 357 | |
|---|
| 358 | <BR> |
|---|
| 359 | </TD> |
|---|
| 360 | </TR> |
|---|
| 361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 363 | <CODE> void</CODE></FONT></TD> |
|---|
| 364 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#transmit(com.rabbitmq.client.impl.AMQCommand)">transmit</A></B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> c)</CODE> |
|---|
| 365 | |
|---|
| 366 | <BR> |
|---|
| 367 | </TD> |
|---|
| 368 | </TR> |
|---|
| 369 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 370 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 371 | <CODE> void</CODE></FONT></TD> |
|---|
| 372 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#transmit(com.rabbitmq.client.Method)">transmit</A></B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m)</CODE> |
|---|
| 373 | |
|---|
| 374 | <BR> |
|---|
| 375 | </TD> |
|---|
| 376 | </TR> |
|---|
| 377 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 378 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 379 | <CODE>static java.io.IOException</CODE></FONT></TD> |
|---|
| 380 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#wrap(com.rabbitmq.client.ShutdownSignalException)">wrap</A></B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> ex)</CODE> |
|---|
| 381 | |
|---|
| 382 | <BR> |
|---|
| 383 | Placeholder until we address bug 15786 (implementing a proper exception hierarchy).</TD> |
|---|
| 384 | </TR> |
|---|
| 385 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 386 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
|---|
| 387 | <CODE>static java.io.IOException</CODE></FONT></TD> |
|---|
| 388 | <TD><CODE><B><A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.html#wrap(com.rabbitmq.client.ShutdownSignalException, java.lang.String)">wrap</A></B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> ex, |
|---|
| 389 | java.lang.String message)</CODE> |
|---|
| 390 | |
|---|
| 391 | <BR> |
|---|
| 392 | </TD> |
|---|
| 393 | </TR> |
|---|
| 394 | </TABLE> |
|---|
| 395 | <A NAME="methods_inherited_from_class_com.rabbitmq.client.impl.ShutdownNotifierComponent"><!-- --></A> |
|---|
| 396 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 397 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
|---|
| 398 | <TH ALIGN="left"><B>Methods inherited from class com.rabbitmq.client.impl.<A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html" title="class in com.rabbitmq.client.impl">ShutdownNotifierComponent</A></B></TH> |
|---|
| 399 | </TR> |
|---|
| 400 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 401 | <TD><CODE><A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#addShutdownListener(com.rabbitmq.client.ShutdownListener)">addShutdownListener</A>, <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#getCloseReason()">getCloseReason</A>, <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#isOpen()">isOpen</A>, <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#notifyListeners()">notifyListeners</A>, <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#removeShutdownListener(com.rabbitmq.client.ShutdownListener)">removeShutdownListener</A>, <A HREF="../../../../com/rabbitmq/client/impl/ShutdownNotifierComponent.html#setShutdownCauseIfOpen(com.rabbitmq.client.ShutdownSignalException)">setShutdownCauseIfOpen</A></CODE></TD> |
|---|
| 402 | </TR> |
|---|
| 403 | </TABLE> |
|---|
| 404 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
|---|
| 405 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 406 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
|---|
| 407 | <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
|---|
| 408 | </TR> |
|---|
| 409 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
|---|
| 410 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
|---|
| 411 | </TR> |
|---|
| 412 | </TABLE> |
|---|
| 413 | |
|---|
| 414 | <P> |
|---|
| 415 | |
|---|
| 416 | <!-- ============ FIELD DETAIL =========== --> |
|---|
| 417 | |
|---|
| 418 | <A NAME="field_detail"><!-- --></A> |
|---|
| 419 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 420 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 421 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|---|
| 422 | <B>Field Detail</B></FONT></TH> |
|---|
| 423 | </TR> |
|---|
| 424 | </TABLE> |
|---|
| 425 | |
|---|
| 426 | <A NAME="_channelMutex"><!-- --></A><H3> |
|---|
| 427 | _channelMutex</H3> |
|---|
| 428 | <PRE> |
|---|
| 429 | protected final java.lang.Object <B>_channelMutex</B></PRE> |
|---|
| 430 | <DL> |
|---|
| 431 | <DD>Protected; used instead of synchronizing on the channel itself, |
|---|
| 432 | so that clients can themselves use the channel to synchronize |
|---|
| 433 | on. |
|---|
| 434 | <P> |
|---|
| 435 | <DL> |
|---|
| 436 | </DL> |
|---|
| 437 | </DL> |
|---|
| 438 | <HR> |
|---|
| 439 | |
|---|
| 440 | <A NAME="_blockContent"><!-- --></A><H3> |
|---|
| 441 | _blockContent</H3> |
|---|
| 442 | <PRE> |
|---|
| 443 | public boolean <B>_blockContent</B></PRE> |
|---|
| 444 | <DL> |
|---|
| 445 | <DD>Whether transmission of content-bearing methods should be blocked |
|---|
| 446 | <P> |
|---|
| 447 | <DL> |
|---|
| 448 | </DL> |
|---|
| 449 | </DL> |
|---|
| 450 | |
|---|
| 451 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
|---|
| 452 | |
|---|
| 453 | <A NAME="constructor_detail"><!-- --></A> |
|---|
| 454 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 455 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 456 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|---|
| 457 | <B>Constructor Detail</B></FONT></TH> |
|---|
| 458 | </TR> |
|---|
| 459 | </TABLE> |
|---|
| 460 | |
|---|
| 461 | <A NAME="AMQChannel(com.rabbitmq.client.impl.AMQConnection, int)"><!-- --></A><H3> |
|---|
| 462 | AMQChannel</H3> |
|---|
| 463 | <PRE> |
|---|
| 464 | public <B>AMQChannel</B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</A> connection, |
|---|
| 465 | int channelNumber)</PRE> |
|---|
| 466 | <DL> |
|---|
| 467 | <DD>Construct a channel on the given connection, with the given channel number. |
|---|
| 468 | <P> |
|---|
| 469 | <DL> |
|---|
| 470 | <DT><B>Parameters:</B><DD><CODE>connection</CODE> - the underlying connection for this channel<DD><CODE>channelNumber</CODE> - the allocated reference number for this channel</DL> |
|---|
| 471 | </DL> |
|---|
| 472 | |
|---|
| 473 | <!-- ============ METHOD DETAIL ========== --> |
|---|
| 474 | |
|---|
| 475 | <A NAME="method_detail"><!-- --></A> |
|---|
| 476 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
|---|
| 477 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
|---|
| 478 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
|---|
| 479 | <B>Method Detail</B></FONT></TH> |
|---|
| 480 | </TR> |
|---|
| 481 | </TABLE> |
|---|
| 482 | |
|---|
| 483 | <A NAME="getChannelNumber()"><!-- --></A><H3> |
|---|
| 484 | getChannelNumber</H3> |
|---|
| 485 | <PRE> |
|---|
| 486 | public int <B>getChannelNumber</B>()</PRE> |
|---|
| 487 | <DL> |
|---|
| 488 | <DD>Public API - Retrieves this channel's channel number. |
|---|
| 489 | <P> |
|---|
| 490 | <DD><DL> |
|---|
| 491 | |
|---|
| 492 | <DT><B>Returns:</B><DD>the channel number</DL> |
|---|
| 493 | </DD> |
|---|
| 494 | </DL> |
|---|
| 495 | <HR> |
|---|
| 496 | |
|---|
| 497 | <A NAME="handleFrame(com.rabbitmq.client.impl.Frame)"><!-- --></A><H3> |
|---|
| 498 | handleFrame</H3> |
|---|
| 499 | <PRE> |
|---|
| 500 | public void <B>handleFrame</B>(<A HREF="../../../../com/rabbitmq/client/impl/Frame.html" title="class in com.rabbitmq.client.impl">Frame</A> frame) |
|---|
| 501 | throws java.io.IOException</PRE> |
|---|
| 502 | <DL> |
|---|
| 503 | <DD>Private API - When the Connection receives a Frame for this |
|---|
| 504 | channel, it passes it to this method. |
|---|
| 505 | <P> |
|---|
| 506 | <DD><DL> |
|---|
| 507 | <DT><B>Parameters:</B><DD><CODE>frame</CODE> - the incoming frame |
|---|
| 508 | <DT><B>Throws:</B> |
|---|
| 509 | <DD><CODE>java.io.IOException</CODE> - if an error is encountered</DL> |
|---|
| 510 | </DD> |
|---|
| 511 | </DL> |
|---|
| 512 | <HR> |
|---|
| 513 | |
|---|
| 514 | <A NAME="wrap(com.rabbitmq.client.ShutdownSignalException)"><!-- --></A><H3> |
|---|
| 515 | wrap</H3> |
|---|
| 516 | <PRE> |
|---|
| 517 | public static java.io.IOException <B>wrap</B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> ex)</PRE> |
|---|
| 518 | <DL> |
|---|
| 519 | <DD>Placeholder until we address bug 15786 (implementing a proper exception hierarchy). |
|---|
| 520 | In the meantime, this at least won't throw away any information from the wrapped exception. |
|---|
| 521 | <P> |
|---|
| 522 | <DD><DL> |
|---|
| 523 | <DT><B>Parameters:</B><DD><CODE>ex</CODE> - the exception to wrap |
|---|
| 524 | <DT><B>Returns:</B><DD>the wrapped exception</DL> |
|---|
| 525 | </DD> |
|---|
| 526 | </DL> |
|---|
| 527 | <HR> |
|---|
| 528 | |
|---|
| 529 | <A NAME="wrap(com.rabbitmq.client.ShutdownSignalException, java.lang.String)"><!-- --></A><H3> |
|---|
| 530 | wrap</H3> |
|---|
| 531 | <PRE> |
|---|
| 532 | public static java.io.IOException <B>wrap</B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> ex, |
|---|
| 533 | java.lang.String message)</PRE> |
|---|
| 534 | <DL> |
|---|
| 535 | <DD><DL> |
|---|
| 536 | </DL> |
|---|
| 537 | </DD> |
|---|
| 538 | </DL> |
|---|
| 539 | <HR> |
|---|
| 540 | |
|---|
| 541 | <A NAME="exnWrappingRpc(com.rabbitmq.client.Method)"><!-- --></A><H3> |
|---|
| 542 | exnWrappingRpc</H3> |
|---|
| 543 | <PRE> |
|---|
| 544 | public <A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> <B>exnWrappingRpc</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m) |
|---|
| 545 | throws java.io.IOException</PRE> |
|---|
| 546 | <DL> |
|---|
| 547 | <DD>Placeholder until we address bug 15786 (implementing a proper exception hierarchy). |
|---|
| 548 | <P> |
|---|
| 549 | <DD><DL> |
|---|
| 550 | |
|---|
| 551 | <DT><B>Throws:</B> |
|---|
| 552 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 553 | </DD> |
|---|
| 554 | </DL> |
|---|
| 555 | <HR> |
|---|
| 556 | |
|---|
| 557 | <A NAME="handleCompleteInboundCommand(com.rabbitmq.client.impl.AMQCommand)"><!-- --></A><H3> |
|---|
| 558 | handleCompleteInboundCommand</H3> |
|---|
| 559 | <PRE> |
|---|
| 560 | public void <B>handleCompleteInboundCommand</B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> command) |
|---|
| 561 | throws java.io.IOException</PRE> |
|---|
| 562 | <DL> |
|---|
| 563 | <DD>Private API - handle a command which has been assembled |
|---|
| 564 | <P> |
|---|
| 565 | <DD><DL> |
|---|
| 566 | <DT><B>Parameters:</B><DD><CODE>command</CODE> - the incoming command |
|---|
| 567 | <DT><B>Throws:</B> |
|---|
| 568 | <DD><CODE>java.io.IOException</CODE> - if there's any problem |
|---|
| 569 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 570 | </DD> |
|---|
| 571 | </DL> |
|---|
| 572 | <HR> |
|---|
| 573 | |
|---|
| 574 | <A NAME="enqueueRpc(com.rabbitmq.client.impl.AMQChannel.RpcContinuation)"><!-- --></A><H3> |
|---|
| 575 | enqueueRpc</H3> |
|---|
| 576 | <PRE> |
|---|
| 577 | public void <B>enqueueRpc</B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k)</PRE> |
|---|
| 578 | <DL> |
|---|
| 579 | <DD><DL> |
|---|
| 580 | </DL> |
|---|
| 581 | </DD> |
|---|
| 582 | </DL> |
|---|
| 583 | <HR> |
|---|
| 584 | |
|---|
| 585 | <A NAME="isOutstandingRpc()"><!-- --></A><H3> |
|---|
| 586 | isOutstandingRpc</H3> |
|---|
| 587 | <PRE> |
|---|
| 588 | public boolean <B>isOutstandingRpc</B>()</PRE> |
|---|
| 589 | <DL> |
|---|
| 590 | <DD><DL> |
|---|
| 591 | </DL> |
|---|
| 592 | </DD> |
|---|
| 593 | </DL> |
|---|
| 594 | <HR> |
|---|
| 595 | |
|---|
| 596 | <A NAME="nextOutstandingRpc()"><!-- --></A><H3> |
|---|
| 597 | nextOutstandingRpc</H3> |
|---|
| 598 | <PRE> |
|---|
| 599 | public <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> <B>nextOutstandingRpc</B>()</PRE> |
|---|
| 600 | <DL> |
|---|
| 601 | <DD><DL> |
|---|
| 602 | </DL> |
|---|
| 603 | </DD> |
|---|
| 604 | </DL> |
|---|
| 605 | <HR> |
|---|
| 606 | |
|---|
| 607 | <A NAME="ensureIsOpen()"><!-- --></A><H3> |
|---|
| 608 | ensureIsOpen</H3> |
|---|
| 609 | <PRE> |
|---|
| 610 | public void <B>ensureIsOpen</B>() |
|---|
| 611 | throws <A HREF="../../../../com/rabbitmq/client/AlreadyClosedException.html" title="class in com.rabbitmq.client">AlreadyClosedException</A></PRE> |
|---|
| 612 | <DL> |
|---|
| 613 | <DD><DL> |
|---|
| 614 | |
|---|
| 615 | <DT><B>Throws:</B> |
|---|
| 616 | <DD><CODE><A HREF="../../../../com/rabbitmq/client/AlreadyClosedException.html" title="class in com.rabbitmq.client">AlreadyClosedException</A></CODE></DL> |
|---|
| 617 | </DD> |
|---|
| 618 | </DL> |
|---|
| 619 | <HR> |
|---|
| 620 | |
|---|
| 621 | <A NAME="rpc(com.rabbitmq.client.Method)"><!-- --></A><H3> |
|---|
| 622 | rpc</H3> |
|---|
| 623 | <PRE> |
|---|
| 624 | public <A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> <B>rpc</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m) |
|---|
| 625 | throws java.io.IOException, |
|---|
| 626 | <A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A></PRE> |
|---|
| 627 | <DL> |
|---|
| 628 | <DD>Protected API - sends a <A HREF="../../../../com/rabbitmq/client/impl/Method.html" title="class in com.rabbitmq.client.impl"><CODE>Method</CODE></A> to the broker and waits for the |
|---|
| 629 | next in-bound Command from the broker: only for use from |
|---|
| 630 | non-connection-MainLoop threads! |
|---|
| 631 | <P> |
|---|
| 632 | <DD><DL> |
|---|
| 633 | |
|---|
| 634 | <DT><B>Throws:</B> |
|---|
| 635 | <DD><CODE>java.io.IOException</CODE> |
|---|
| 636 | <DD><CODE><A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A></CODE></DL> |
|---|
| 637 | </DD> |
|---|
| 638 | </DL> |
|---|
| 639 | <HR> |
|---|
| 640 | |
|---|
| 641 | <A NAME="rpc(com.rabbitmq.client.Method, com.rabbitmq.client.impl.AMQChannel.RpcContinuation)"><!-- --></A><H3> |
|---|
| 642 | rpc</H3> |
|---|
| 643 | <PRE> |
|---|
| 644 | public void <B>rpc</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m, |
|---|
| 645 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k) |
|---|
| 646 | throws java.io.IOException</PRE> |
|---|
| 647 | <DL> |
|---|
| 648 | <DD><DL> |
|---|
| 649 | |
|---|
| 650 | <DT><B>Throws:</B> |
|---|
| 651 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 652 | </DD> |
|---|
| 653 | </DL> |
|---|
| 654 | <HR> |
|---|
| 655 | |
|---|
| 656 | <A NAME="quiescingRpc(com.rabbitmq.client.Method, com.rabbitmq.client.impl.AMQChannel.RpcContinuation)"><!-- --></A><H3> |
|---|
| 657 | quiescingRpc</H3> |
|---|
| 658 | <PRE> |
|---|
| 659 | public void <B>quiescingRpc</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m, |
|---|
| 660 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.RpcContinuation.html" title="interface in com.rabbitmq.client.impl">AMQChannel.RpcContinuation</A> k) |
|---|
| 661 | throws java.io.IOException</PRE> |
|---|
| 662 | <DL> |
|---|
| 663 | <DD><DL> |
|---|
| 664 | |
|---|
| 665 | <DT><B>Throws:</B> |
|---|
| 666 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 667 | </DD> |
|---|
| 668 | </DL> |
|---|
| 669 | <HR> |
|---|
| 670 | |
|---|
| 671 | <A NAME="processAsync(com.rabbitmq.client.Command)"><!-- --></A><H3> |
|---|
| 672 | processAsync</H3> |
|---|
| 673 | <PRE> |
|---|
| 674 | public abstract boolean <B>processAsync</B>(<A HREF="../../../../com/rabbitmq/client/Command.html" title="interface in com.rabbitmq.client">Command</A> command) |
|---|
| 675 | throws java.io.IOException</PRE> |
|---|
| 676 | <DL> |
|---|
| 677 | <DD>Protected API - called by nextCommand to check possibly handle an incoming Command before it is returned to the caller of nextCommand. If this method |
|---|
| 678 | returns true, the command is considered handled and is not passed back to nextCommand's caller; if it returns false, nextCommand returns the command as |
|---|
| 679 | usual. This is used in subclasses to implement handling of Basic.Return and Basic.Deliver messages, as well as Channel.Close and Connection.Close. |
|---|
| 680 | <P> |
|---|
| 681 | <DD><DL> |
|---|
| 682 | <DT><B>Parameters:</B><DD><CODE>command</CODE> - the command to handle asynchronously |
|---|
| 683 | <DT><B>Returns:</B><DD>true if we handled the command; otherwise the caller should consider it "unhandled" |
|---|
| 684 | <DT><B>Throws:</B> |
|---|
| 685 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 686 | </DD> |
|---|
| 687 | </DL> |
|---|
| 688 | <HR> |
|---|
| 689 | |
|---|
| 690 | <A NAME="toString()"><!-- --></A><H3> |
|---|
| 691 | toString</H3> |
|---|
| 692 | <PRE> |
|---|
| 693 | public java.lang.String <B>toString</B>()</PRE> |
|---|
| 694 | <DL> |
|---|
| 695 | <DD><DL> |
|---|
| 696 | <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL> |
|---|
| 697 | </DD> |
|---|
| 698 | <DD><DL> |
|---|
| 699 | </DL> |
|---|
| 700 | </DD> |
|---|
| 701 | </DL> |
|---|
| 702 | <HR> |
|---|
| 703 | |
|---|
| 704 | <A NAME="processShutdownSignal(com.rabbitmq.client.ShutdownSignalException, boolean, boolean)"><!-- --></A><H3> |
|---|
| 705 | processShutdownSignal</H3> |
|---|
| 706 | <PRE> |
|---|
| 707 | public void <B>processShutdownSignal</B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> signal, |
|---|
| 708 | boolean ignoreClosed, |
|---|
| 709 | boolean notifyRpc)</PRE> |
|---|
| 710 | <DL> |
|---|
| 711 | <DD>Protected API - respond, in the driver thread, to a <A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client"><CODE>ShutdownSignalException</CODE></A>. |
|---|
| 712 | <P> |
|---|
| 713 | <DD><DL> |
|---|
| 714 | <DT><B>Parameters:</B><DD><CODE>signal</CODE> - the signal to handle<DD><CODE>ignoreClosed</CODE> - the flag indicating whether to ignore the AlreadyClosedException |
|---|
| 715 | thrown when the channel is already closed<DD><CODE>notifyRpc</CODE> - the flag indicating whether any remaining rpc continuation should be |
|---|
| 716 | notified with the given signal</DL> |
|---|
| 717 | </DD> |
|---|
| 718 | </DL> |
|---|
| 719 | <HR> |
|---|
| 720 | |
|---|
| 721 | <A NAME="notifyOutstandingRpc(com.rabbitmq.client.ShutdownSignalException)"><!-- --></A><H3> |
|---|
| 722 | notifyOutstandingRpc</H3> |
|---|
| 723 | <PRE> |
|---|
| 724 | public void <B>notifyOutstandingRpc</B>(<A HREF="../../../../com/rabbitmq/client/ShutdownSignalException.html" title="class in com.rabbitmq.client">ShutdownSignalException</A> signal)</PRE> |
|---|
| 725 | <DL> |
|---|
| 726 | <DD><DL> |
|---|
| 727 | </DL> |
|---|
| 728 | </DD> |
|---|
| 729 | </DL> |
|---|
| 730 | <HR> |
|---|
| 731 | |
|---|
| 732 | <A NAME="transmit(com.rabbitmq.client.Method)"><!-- --></A><H3> |
|---|
| 733 | transmit</H3> |
|---|
| 734 | <PRE> |
|---|
| 735 | public void <B>transmit</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m) |
|---|
| 736 | throws java.io.IOException</PRE> |
|---|
| 737 | <DL> |
|---|
| 738 | <DD><DL> |
|---|
| 739 | |
|---|
| 740 | <DT><B>Throws:</B> |
|---|
| 741 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 742 | </DD> |
|---|
| 743 | </DL> |
|---|
| 744 | <HR> |
|---|
| 745 | |
|---|
| 746 | <A NAME="transmit(com.rabbitmq.client.impl.AMQCommand)"><!-- --></A><H3> |
|---|
| 747 | transmit</H3> |
|---|
| 748 | <PRE> |
|---|
| 749 | public void <B>transmit</B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> c) |
|---|
| 750 | throws java.io.IOException</PRE> |
|---|
| 751 | <DL> |
|---|
| 752 | <DD><DL> |
|---|
| 753 | |
|---|
| 754 | <DT><B>Throws:</B> |
|---|
| 755 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 756 | </DD> |
|---|
| 757 | </DL> |
|---|
| 758 | <HR> |
|---|
| 759 | |
|---|
| 760 | <A NAME="quiescingTransmit(com.rabbitmq.client.Method)"><!-- --></A><H3> |
|---|
| 761 | quiescingTransmit</H3> |
|---|
| 762 | <PRE> |
|---|
| 763 | public void <B>quiescingTransmit</B>(<A HREF="../../../../com/rabbitmq/client/Method.html" title="interface in com.rabbitmq.client">Method</A> m) |
|---|
| 764 | throws java.io.IOException</PRE> |
|---|
| 765 | <DL> |
|---|
| 766 | <DD><DL> |
|---|
| 767 | |
|---|
| 768 | <DT><B>Throws:</B> |
|---|
| 769 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 770 | </DD> |
|---|
| 771 | </DL> |
|---|
| 772 | <HR> |
|---|
| 773 | |
|---|
| 774 | <A NAME="quiescingTransmit(com.rabbitmq.client.impl.AMQCommand)"><!-- --></A><H3> |
|---|
| 775 | quiescingTransmit</H3> |
|---|
| 776 | <PRE> |
|---|
| 777 | public void <B>quiescingTransmit</B>(<A HREF="../../../../com/rabbitmq/client/impl/AMQCommand.html" title="class in com.rabbitmq.client.impl">AMQCommand</A> c) |
|---|
| 778 | throws java.io.IOException</PRE> |
|---|
| 779 | <DL> |
|---|
| 780 | <DD><DL> |
|---|
| 781 | |
|---|
| 782 | <DT><B>Throws:</B> |
|---|
| 783 | <DD><CODE>java.io.IOException</CODE></DL> |
|---|
| 784 | </DD> |
|---|
| 785 | </DL> |
|---|
| 786 | <HR> |
|---|
| 787 | |
|---|
| 788 | <A NAME="getConnection()"><!-- --></A><H3> |
|---|
| 789 | getConnection</H3> |
|---|
| 790 | <PRE> |
|---|
| 791 | public <A HREF="../../../../com/rabbitmq/client/impl/AMQConnection.html" title="class in com.rabbitmq.client.impl">AMQConnection</A> <B>getConnection</B>()</PRE> |
|---|
| 792 | <DL> |
|---|
| 793 | <DD><DL> |
|---|
| 794 | </DL> |
|---|
| 795 | </DD> |
|---|
| 796 | </DL> |
|---|
| 797 | <!-- ========= END OF CLASS DATA ========= --> |
|---|
| 798 | <HR> |
|---|
| 799 | |
|---|
| 800 | |
|---|
| 801 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
|---|
| 802 | <A NAME="navbar_bottom"><!-- --></A> |
|---|
| 803 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
|---|
| 804 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
|---|
| 805 | <TR> |
|---|
| 806 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
|---|
| 807 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
|---|
| 808 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
|---|
| 809 | <TR ALIGN="center" VALIGN="top"> |
|---|
| 810 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
|---|
| 811 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
|---|
| 812 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
|---|
| 813 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
|---|
| 814 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
|---|
| 815 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
|---|
| 816 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
|---|
| 817 | </TR> |
|---|
| 818 | </TABLE> |
|---|
| 819 | </TD> |
|---|
| 820 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
|---|
| 821 | </EM> |
|---|
| 822 | </TD> |
|---|
| 823 | </TR> |
|---|
| 824 | |
|---|
| 825 | <TR> |
|---|
| 826 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|---|
| 827 | <A HREF="../../../../com/rabbitmq/client/impl/AMQBasicProperties.html" title="class in com.rabbitmq.client.impl"><B>PREV CLASS</B></A> |
|---|
| 828 | <A HREF="../../../../com/rabbitmq/client/impl/AMQChannel.BlockingRpcContinuation.html" title="class in com.rabbitmq.client.impl"><B>NEXT CLASS</B></A></FONT></TD> |
|---|
| 829 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
|---|
| 830 | <A HREF="../../../../index.html?com/rabbitmq/client/impl/AMQChannel.html" target="_top"><B>FRAMES</B></A> |
|---|
| 831 | <A HREF="AMQChannel.html" target="_top"><B>NO FRAMES</B></A> |
|---|
| 832 | <SCRIPT type="text/javascript"> |
|---|
| 833 | <!-- |
|---|
| 834 | if(window==top) { |
|---|
| 835 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
|---|
| 836 | } |
|---|
| 837 | //--> |
|---|
| 838 | </SCRIPT> |
|---|
| 839 | <NOSCRIPT> |
|---|
| 840 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
|---|
| 841 | </NOSCRIPT> |
|---|
| 842 | |
|---|
| 843 | |
|---|
| 844 | </FONT></TD> |
|---|
| 845 | </TR> |
|---|
| 846 | <TR> |
|---|
| 847 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|---|
| 848 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
|---|
| 849 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
|---|
| 850 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
|---|
| 851 | </TR> |
|---|
| 852 | </TABLE> |
|---|
| 853 | <A NAME="skip-navbar_bottom"></A> |
|---|
| 854 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
|---|
| 855 | |
|---|
| 856 | <HR> |
|---|
| 857 | |
|---|
| 858 | </BODY> |
|---|
| 859 | </HTML> |
|---|