/** * Sends the given frame to the server. * @param frame the frame * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Frame frame, Handler<Frame> receiptHandler) { delegate.send(frame, receiptHandler); return this; }
/** * Sends the given frame to the server. * @param frame the frame * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Frame frame) { delegate.send(frame); return this; }
/** * Sends the given frame to the server. * @param frame the frame * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Frame frame) { delegate.send(frame); return this; }
/** * Sends the given frame to the server. * @param frame the frame * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Frame frame, Handler<Frame> receiptHandler) { delegate.send(frame, receiptHandler); return this; }
/** * Sends a <code>SEND</code> frame to the server. * @param headers the headers, must not be <code>null</code> * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(headers, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. The message does not have any other header. * @param destination the destination, must not be <code>null</code> * @param body the body, may be <code>null</code> * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, io.vertx.rxjava.core.buffer.Buffer body, Handler<Frame> receiptHandler) { delegate.send(destination, body.getDelegate(), receiptHandler); return this; }
/** * Sends a <code>SEND</code> frame to the server. * @param headers the headers, must not be <code>null</code> * @param body the body, may be <code>null</code> * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body, Handler<Frame> receiptHandler) { delegate.send(headers, body.getDelegate(), receiptHandler); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. The message does not have any other header. * @param destination the destination, must not be <code>null</code> * @param body the body, may be <code>null</code> * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, io.vertx.rxjava.core.buffer.Buffer body, Handler<Frame> receiptHandler) { delegate.send(destination, body.getDelegate(), receiptHandler); return this; }
/** * Sends a <code>SEND</code> frame to the server. * @param headers the headers, must not be <code>null</code> * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(headers, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. The message does not have any other header. * @param destination the destination, must not be <code>null</code> * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(destination, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. * @param destination the destination, must not be <code>null</code> * @param headers the header. The <code>destination</code> header is replaced by the value given to the <code>destination</code> parameter * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(destination, headers, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. * @param destination the destination, must not be <code>null</code> * @param headers the header. The <code>destination</code> header is replaced by the value given to the <code>destination</code> parameter * @param body the body, may be <code>null</code> * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body, Handler<Frame> receiptHandler) { delegate.send(destination, headers, body.getDelegate(), receiptHandler); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. The message does not have any other header. * @param destination the destination, must not be <code>null</code> * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(destination, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server to the given destination. * @param destination the destination, must not be <code>null</code> * @param headers the header. The <code>destination</code> header is replaced by the value given to the <code>destination</code> parameter * @param body the body, may be <code>null</code> * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(String destination, Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body) { delegate.send(destination, headers, body.getDelegate()); return this; }
/** * Sends a <code>SEND</code> frame to the server. * @param headers the headers, must not be <code>null</code> * @param body the body, may be <code>null</code> * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the sent frame has been received. The handler receives the sent frame. * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection send(Map<String, String> headers, io.vertx.rxjava.core.buffer.Buffer body, Handler<Frame> receiptHandler) { delegate.send(headers, body.getDelegate(), receiptHandler); return this; }
public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, java.util.Map<String, java.lang.String> headers, io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.send(destination, headers != null ? headers.entrySet().stream().collect(java.util.stream.Collectors.toMap(java.util.Map.Entry::getKey, entry -> entry.getValue())) : null, body, receiptHandler != null ? event -> receiptHandler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null)); return j_receiver; } public static java.lang.String subscribe(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, io.vertx.core.Handler<java.util.Map<String, Object>> handler) {
public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.util.Map<String, java.lang.String> headers, io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.send(headers != null ? headers.entrySet().stream().collect(java.util.stream.Collectors.toMap(java.util.Map.Entry::getKey, entry -> entry.getValue())) : null, body, receiptHandler != null ? event -> receiptHandler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null)); return j_receiver; } public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) {
public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.send(destination, body, receiptHandler != null ? event -> receiptHandler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null)); return j_receiver; } public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.util.Map<String, Object> frame) {
public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.util.Map<String, Object> frame) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.send(frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null)); return j_receiver; } public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.util.Map<String, Object> frame, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) {
public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.util.Map<String, Object> frame, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.send(frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null, receiptHandler != null ? event -> receiptHandler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null)); return j_receiver; } public static io.vertx.ext.stomp.StompClientConnection send(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, java.util.Map<String, java.lang.String> headers, io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) {