/** * Un-subscribes from the given destination. This method computes the subscription id as follows. If the given * headers contains the <code>id</code> header, the header value is used. Otherwise the destination is used. * @param destination the destination * @param headers the headers * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Map<String, String> headers) { delegate.unsubscribe(destination, headers); return this; }
/** * Un-subscribes from the given destination. This method only works if the subscription did not specifies a * subscription id (using the <code>id</code> header). * @param destination the destination * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination) { delegate.unsubscribe(destination); return this; }
/** * Un-subscribes from the given destination. This method only works if the subscription did not specifies a * subscription id (using the <code>id</code> header). * @param destination the destination * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the un-subscription has been received. The handler receives the sent frame (<code>UNSUBSCRIBE</code>). * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Handler<Frame> receiptHandler) { delegate.unsubscribe(destination, receiptHandler); return this; }
/** * Un-subscribes from the given destination. This method only works if the subscription did not specifies a * subscription id (using the <code>id</code> header). * @param destination the destination * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the un-subscription has been received. The handler receives the sent frame (<code>UNSUBSCRIBE</code>). * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Handler<Frame> receiptHandler) { delegate.unsubscribe(destination, receiptHandler); return this; }
/** * Un-subscribes from the given destination. This method computes the subscription id as follows. If the given * headers contains the <code>id</code> header, the header value is used. Otherwise the destination is used. * @param destination the destination * @param headers the headers * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the un-subscription has been received. The handler receives the sent frame (<code>UNSUBSCRIBE</code>). * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Map<String, String> headers, Handler<Frame> receiptHandler) { delegate.unsubscribe(destination, headers, receiptHandler); return this; }
/** * Un-subscribes from the given destination. This method only works if the subscription did not specifies a * subscription id (using the <code>id</code> header). * @param destination the destination * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination) { delegate.unsubscribe(destination); return this; }
/** * Un-subscribes from the given destination. This method computes the subscription id as follows. If the given * headers contains the <code>id</code> header, the header value is used. Otherwise the destination is used. * @param destination the destination * @param headers the headers * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Map<String, String> headers) { delegate.unsubscribe(destination, headers); return this; }
/** * Un-subscribes from the given destination. This method computes the subscription id as follows. If the given * headers contains the <code>id</code> header, the header value is used. Otherwise the destination is used. * @param destination the destination * @param headers the headers * @param receiptHandler the handler invoked when the <code>RECEIPT</code> frame associated with the un-subscription has been received. The handler receives the sent frame (<code>UNSUBSCRIBE</code>). * @return the current {@link io.vertx.rxjava.ext.stomp.StompClientConnection} */ public io.vertx.rxjava.ext.stomp.StompClientConnection unsubscribe(String destination, Map<String, String> headers, Handler<Frame> receiptHandler) { delegate.unsubscribe(destination, headers, receiptHandler); return this; }
public static io.vertx.ext.stomp.StompClientConnection unsubscribe(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, java.util.Map<String, java.lang.String> headers, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.unsubscribe(destination, headers != null ? headers.entrySet().stream().collect(java.util.stream.Collectors.toMap(java.util.Map.Entry::getKey, entry -> entry.getValue())) : 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 errorHandler(io.vertx.ext.stomp.StompClientConnection j_receiver, io.vertx.core.Handler<java.util.Map<String, Object>> handler) {
public static io.vertx.ext.stomp.StompClientConnection unsubscribe(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) { io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.unsubscribe(destination, 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 unsubscribe(io.vertx.ext.stomp.StompClientConnection j_receiver, java.lang.String destination, java.util.Map<String, java.lang.String> headers, io.vertx.core.Handler<java.util.Map<String, Object>> receiptHandler) {