@@ -175,7 +175,7 @@ public Map<String, Object> getServerProperties() {
175175 * @param password for <code><b>username</b></code>
176176 * @param frameHandler for sending and receiving frames on this connection
177177 * @param executor thread pool service for consumer threads for channels on this connection
178- * @param virtualHost
178+ * @param virtualHost virtual host of this connection
179179 * @param clientProperties client info used in negotiating with the server
180180 * @param requestedFrameMax max size of frame offered
181181 * @param requestedChannelMax max number of channels offered
@@ -211,7 +211,7 @@ public AMQConnection(String username,
211211 * @param password for <code><b>username</b></code>
212212 * @param frameHandler for sending and receiving frames on this connection
213213 * @param executor thread pool service for consumer threads for channels on this connection
214- * @param virtualHost
214+ * @param virtualHost virtual host of this connection
215215 * @param clientProperties client info used in negotiating with the server
216216 * @param requestedFrameMax max size of frame offered
217217 * @param requestedChannelMax max number of channels offered
@@ -623,10 +623,14 @@ public SocketCloseWait(ShutdownSignalException sse) {
623623 }
624624
625625 /**
626- * Protected API - causes all attached channels to terminate with
627- * a ShutdownSignal built from the argument, and stops this
628- * connection from accepting further work from the application.
629- *
626+ * Protected API - causes all attached channels to terminate (shutdown) with a ShutdownSignal
627+ * built from the argument, and stops this connection from accepting further work from the
628+ * application. {@link com.rabbitmq.client.ShutdownListener ShutdownListener}s for the
629+ * connection are notified when the main loop terminates.
630+ * @param reason object being shutdown
631+ * @param initiatedByApplication true if caused by a client command
632+ * @param cause trigger exception which caused shutdown
633+ * @param notifyRpc true if outstanding rpc should be informed of shutdown
630634 * @return a shutdown signal built using the given arguments
631635 */
632636 public ShutdownSignalException shutdown (Object reason ,
@@ -722,6 +726,7 @@ public void close(int closeCode,
722726 close (closeCode , closeMessage , initiatedByApplication , cause , -1 , false );
723727 }
724728
729+ // TODO: Make this private
725730 /**
726731 * Protected API - Close this connection with the given code, message, source
727732 * and timeout value for all the close operations to complete.
0 commit comments