package io.vertx.groovy.ext.stomp;
public class StompClient_GroovyExtension {
  public static io.vertx.ext.stomp.StompClient receivedFrameHandler(io.vertx.ext.stomp.StompClient j_receiver, io.vertx.core.Handler<java.util.Map<String, Object>> handler) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.receivedFrameHandler(handler != null ? event -> handler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null));
    return j_receiver;
  }
  public static io.vertx.ext.stomp.StompClient writingFrameHandler(io.vertx.ext.stomp.StompClient j_receiver, io.vertx.core.Handler<java.util.Map<String, Object>> handler) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.writingFrameHandler(handler != null ? event -> handler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null));
    return j_receiver;
  }
  public static io.vertx.ext.stomp.StompClient errorFrameHandler(io.vertx.ext.stomp.StompClient j_receiver, io.vertx.core.Handler<java.util.Map<String, Object>> handler) {
    io.vertx.core.impl.ConversionHelper.fromObject(j_receiver.errorFrameHandler(handler != null ? event -> handler.handle(event != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(event.toJson()) : null) : null));
    return j_receiver;
  }
  public static java.util.Map<String, Object> options(io.vertx.ext.stomp.StompClient j_receiver) {
    return j_receiver.options() != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(j_receiver.options().toJson()) : null;
  }
}