package io.vertx.groovy.ext.stomp;
public class Destination_GroovyExtension {
public static io.vertx.ext.stomp.Destination dispatch(io.vertx.ext.stomp.Destination j_receiver, io.vertx.ext.stomp.StompServerConnection connection, java.util.Map<String, Object> frame) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.dispatch(connection,
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.Destination subscribe(io.vertx.ext.stomp.Destination j_receiver, io.vertx.ext.stomp.StompServerConnection connection, java.util.Map<String, Object> frame) {
io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.subscribe(connection,
frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null));
return j_receiver;
}
public static boolean unsubscribe(io.vertx.ext.stomp.Destination j_receiver, io.vertx.ext.stomp.StompServerConnection connection, java.util.Map<String, Object> frame) {
return j_receiver.unsubscribe(connection,
frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null);
}
public static boolean ack(io.vertx.ext.stomp.Destination j_receiver, io.vertx.ext.stomp.StompServerConnection connection, java.util.Map<String, Object> frame) {
return j_receiver.ack(connection,
frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null);
}
public static boolean nack(io.vertx.ext.stomp.Destination j_receiver, io.vertx.ext.stomp.StompServerConnection connection, java.util.Map<String, Object> frame) {
return j_receiver.nack(connection,
frame != null ? new io.vertx.ext.stomp.Frame(io.vertx.core.impl.ConversionHelper.toJsonObject(frame)) : null);
}
}