@TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSSocket")
 public SockJSSocket resume() {
   SockJSSocket ret =
       io.vertx.ceylon.web.handler.sockjs.SockJSSocket.TO_CEYLON
           .converter()
           .safeConvert(delegate.resume());
   return this;
 }
 @TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSSocket")
 public SockJSSocket setWriteQueueMaxSize(
     final @TypeInfo("ceylon.language::Integer") @Name("maxSize") long maxSize) {
   int arg_0 = (int) maxSize;
   SockJSSocket ret =
       io.vertx.ceylon.web.handler.sockjs.SockJSSocket.TO_CEYLON
           .converter()
           .safeConvert(delegate.setWriteQueueMaxSize(arg_0));
   return this;
 }
 @TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSSocket")
 public SockJSSocket write(
     final @TypeInfo("io.vertx.ceylon.core.buffer::Buffer") @Name("data") Buffer data) {
   io.vertx.core.buffer.Buffer arg_0 =
       io.vertx.ceylon.core.buffer.Buffer.TO_JAVA.safeConvert(data);
   SockJSSocket ret =
       io.vertx.ceylon.web.handler.sockjs.SockJSSocket.TO_CEYLON
           .converter()
           .safeConvert(delegate.write(arg_0));
   return this;
 }
 @TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSSocket")
 public SockJSSocket drainHandler(
     final @TypeInfo("ceylon.language::Anything()") @Name("handler") Callable<?> handler) {
   io.vertx.core.Handler<java.lang.Void> arg_0 =
       handler == null
           ? null
           : new io.vertx.core.Handler<java.lang.Void>() {
             public void handle(java.lang.Void event) {
               handler.$call$();
             }
           };
   SockJSSocket ret =
       io.vertx.ceylon.web.handler.sockjs.SockJSSocket.TO_CEYLON
           .converter()
           .safeConvert(delegate.drainHandler(arg_0));
   return this;
 }
 @TypeInfo("io.vertx.ceylon.web.handler.sockjs::SockJSSocket")
 public SockJSSocket handler(
     final @TypeInfo("ceylon.language::Anything(io.vertx.ceylon.core.buffer::Buffer)") @Name(
             "handler") Callable<?> handler) {
   io.vertx.core.Handler<io.vertx.core.buffer.Buffer> arg_0 =
       handler == null
           ? null
           : new io.vertx.core.Handler<io.vertx.core.buffer.Buffer>() {
             public void handle(io.vertx.core.buffer.Buffer event) {
               handler.$call$(
                   (Object)
                       io.vertx.ceylon.core.buffer.Buffer.TO_CEYLON
                           .converter()
                           .safeConvert(event));
             }
           };
   SockJSSocket ret =
       io.vertx.ceylon.web.handler.sockjs.SockJSSocket.TO_CEYLON
           .converter()
           .safeConvert(delegate.handler(arg_0));
   return this;
 }