Esempio n. 1
0
 @DocAnnotation$annotation$(
     description =
         " Cancels the timeout. Note this has the same effect as calling [handler](TimeoutStream.type.html#handler) with a null\n argument.\n")
 @TypeInfo("ceylon.language::Anything")
 public void cancel() {
   delegate.cancel();
 }
Esempio n. 2
0
 @TypeInfo("io.vertx.ceylon.core::TimeoutStream")
 public TimeoutStream endHandler(
     final @TypeInfo("ceylon.language::Anything()?") @Name("endHandler") Callable<?> endHandler) {
   io.vertx.core.Handler<java.lang.Void> arg_0 =
       endHandler == null
           ? null
           : new io.vertx.core.Handler<java.lang.Void>() {
             public void handle(java.lang.Void event) {
               endHandler.$call$();
             }
           };
   TimeoutStream ret =
       io.vertx.ceylon.core.TimeoutStream.TO_CEYLON
           .converter()
           .safeConvert(delegate.endHandler(arg_0));
   return this;
 }
Esempio n. 3
0
 @TypeInfo("io.vertx.ceylon.core::TimeoutStream")
 public TimeoutStream handler(
     final @TypeInfo("ceylon.language::Anything(ceylon.language::Integer)?") @Name("handler")
         Callable<?> handler) {
   io.vertx.core.Handler<java.lang.Long> arg_0 =
       handler == null
           ? null
           : new io.vertx.core.Handler<java.lang.Long>() {
             public void handle(java.lang.Long event) {
               handler.$call$((Object) io.vertx.lang.ceylon.ToCeylon.Long.safeConvert(event));
             }
           };
   TimeoutStream ret =
       io.vertx.ceylon.core.TimeoutStream.TO_CEYLON
           .converter()
           .safeConvert(delegate.handler(arg_0));
   return this;
 }
Esempio n. 4
0
 @TypeInfo("io.vertx.ceylon.core::TimeoutStream")
 public TimeoutStream exceptionHandler(
     final @TypeInfo("ceylon.language::Anything(ceylon.language::Throwable)?") @Name("handler")
         Callable<?> handler) {
   io.vertx.core.Handler<java.lang.Throwable> arg_0 =
       handler == null
           ? null
           : new io.vertx.core.Handler<java.lang.Throwable>() {
             public void handle(java.lang.Throwable event) {
               handler.$call$((Object) event);
             }
           };
   TimeoutStream ret =
       io.vertx.ceylon.core.TimeoutStream.TO_CEYLON
           .converter()
           .safeConvert(delegate.exceptionHandler(arg_0));
   return this;
 }
Esempio n. 5
0
 @TypeInfo("io.vertx.ceylon.core::TimeoutStream")
 public TimeoutStream resume() {
   TimeoutStream ret =
       io.vertx.ceylon.core.TimeoutStream.TO_CEYLON.converter().safeConvert(delegate.resume());
   return this;
 }