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