Esempio n. 1
0
 @DocAnnotation$annotation$(
     description =
         " When a <code>SockJSSocket</code> is created it automatically registers an event handler with the event bus, the ID of that\n handler is given by <code>writeHandlerID</code>.\n <p>\n Given this ID, a different event loop can send a buffer to that event handler using the event bus and\n that buffer will be received by this instance in its own event loop and written to the underlying socket. This\n allows you to write data to other sockets which are owned by different event loops.\n")
 @TypeInfo("ceylon.language::String")
 public ceylon.language.String writeHandlerID() {
   ceylon.language.String ret =
       io.vertx.lang.ceylon.ToCeylon.String.safeConvert(delegate.writeHandlerID());
   return ret;
 }
Esempio n. 2
0
 /**
  * When a <code>SockJSSocket</code> is created it automatically registers an event handler with
  * the event bus, the ID of that handler is given by <code>writeHandlerID</code>.
  *
  * <p>Given this ID, a different event loop can send a buffer to that event handler using the
  * event bus and that buffer will be received by this instance in its own event loop and written
  * to the underlying socket. This allows you to write data to other sockets which are owned by
  * different event loops.
  *
  * @return
  */
 public String writeHandlerID() {
   String ret = delegate.writeHandlerID();
   return ret;
 }