Beispiel #1
0
 public final void connect(int port, String host, ParameterlessEventHandler callback) {
   connect(port, host, callback.getNativeFunction());
 }
Beispiel #2
0
 public final boolean write(
     String string, String encoding, int fd, ParameterlessEventHandler callback) {
   return write(string, encoding, fd, callback.getNativeFunction());
 }
Beispiel #3
0
 public final void setTimeout(int timeout, ParameterlessEventHandler callback) {
   setTimeout(timeout, callback.getNativeFunction());
 }
Beispiel #4
0
 public final boolean write(Buffer buffer, ParameterlessEventHandler callback) {
   return write(buffer, callback.getNativeFunction());
 }