socket.exceptionHandler(new Handler<Throwable>() {
public void handle(Throwable t) {
cleanupConnection(theServerID, ConnectionHolder.this, true);
}
});
socket.closeHandler(new VoidHandler() {
public void handle() {
cleanupConnection(theServerID, ConnectionHolder.this, false);
}
});
socket.dataHandler(new Handler<Buffer>() {