equal
deleted
inserted
replaced
317 * <p/> |
317 * <p/> |
318 * <p/> |
318 * <p/> |
319 * This method works like {@link Thread#start()}. |
319 * This method works like {@link Thread#start()}. |
320 * |
320 * |
321 * @param tubeline The first tube of the tubeline that will act on the packet. |
321 * @param tubeline The first tube of the tubeline that will act on the packet. |
322 * @param request The request packet to be passed to <tt>startPoint.processRequest()</tt>. |
322 * @param request The request packet to be passed to {@code startPoint.processRequest()}. |
323 * @param completionCallback The callback to be invoked when the processing is finished and the |
323 * @param completionCallback The callback to be invoked when the processing is finished and the |
324 * final response packet is available. |
324 * final response packet is available. |
325 * @see #runSync(Tube, Packet) |
325 * @see #runSync(Tube, Packet) |
326 */ |
326 */ |
327 public void start(@NotNull Tube tubeline, @NotNull Packet request, @Nullable CompletionCallback completionCallback) { |
327 public void start(@NotNull Tube tubeline, @NotNull Packet request, @Nullable CompletionCallback completionCallback) { |
383 * This method works like {@link Thread#start()}. |
383 * This method works like {@link Thread#start()}. |
384 * |
384 * |
385 * @param tubeline |
385 * @param tubeline |
386 * The first tube of the tubeline that will act on the packet. |
386 * The first tube of the tubeline that will act on the packet. |
387 * @param request |
387 * @param request |
388 * The request packet to be passed to <tt>startPoint.processRequest()</tt>. |
388 * The request packet to be passed to {@code startPoint.processRequest()}. |
389 * @param completionCallback |
389 * @param completionCallback |
390 * The callback to be invoked when the processing is finished and the |
390 * The callback to be invoked when the processing is finished and the |
391 * final response packet is available. |
391 * final response packet is available. |
392 * |
392 * |
393 * @see #start(Tube,Packet,CompletionCallback) |
393 * @see #start(Tube,Packet,CompletionCallback) |
833 * } |
833 * } |
834 * } |
834 * } |
835 * </pre> |
835 * </pre> |
836 * |
836 * |
837 * @param tubeline The first tube of the tubeline that will act on the packet. |
837 * @param tubeline The first tube of the tubeline that will act on the packet. |
838 * @param request The request packet to be passed to <tt>startPoint.processRequest()</tt>. |
838 * @param request The request packet to be passed to {@code startPoint.processRequest()}. |
839 * @return The response packet to the <tt>request</tt>. |
839 * @return The response packet to the {@code request}. |
840 * @see #start(Tube, Packet, CompletionCallback) |
840 * @see #start(Tube, Packet, CompletionCallback) |
841 */ |
841 */ |
842 public |
842 public |
843 @NotNull |
843 @NotNull |
844 Packet runSync(@NotNull Tube tubeline, @NotNull Packet request) { |
844 Packet runSync(@NotNull Tube tubeline, @NotNull Packet request) { |