IoBridge.isConnected
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using libcore.io.IoBridge.isConnected (Showing top 14 results out of 315)

origin: robovm/robovm

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: robovm/robovm

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: ibinti/bugvm

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: MobiVM/robovm

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: MobiVM/robovm

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: com.mobidevelop.robovm/robovm-rt

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: com.bugvm/bugvm-rt

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: com.gluonhq/robovm-rt

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: ibinti/bugvm

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: com.gluonhq/robovm-rt

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: com.mobidevelop.robovm/robovm-rt

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: FlexoVM/flexovm

  InetAddress inetAddress = connectAddress.getAddress();
  int port = connectAddress.getPort();
  finished = IoBridge.isConnected(fd, inetAddress, port, 0, 0); // Return immediately.
  isBound = finished;
} catch (ConnectException e) {
origin: com.bugvm/bugvm-rt

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
origin: FlexoVM/flexovm

    throw new SocketTimeoutException(connectDetail(inetAddress, port, timeoutMs, null));
} while (!IoBridge.isConnected(fd, inetAddress, port, timeoutMs, remainingTimeoutMs));
IoUtils.setBlocking(fd, true); // 4. set the socket back to blocking.
return true; // Or we'd have thrown.
libcore.ioIoBridgeisConnected

Popular methods of IoBridge

  • available
  • bind
  • booleanFromInt
  • booleanToInt
  • closeSocket
  • connect
    Connects socket 'fd' to 'inetAddress' on 'port', with a the given 'timeoutMs'. Use timeoutMs == 0 fo
  • connectDetail
  • connectErrno
  • getSocketLocalAddress
  • getSocketLocalPort
  • getSocketOption
    java.net has its own socket options similar to the underlying Unix ones. We paper over the differenc
  • getSocketOptionErrno
  • getSocketOption,
  • getSocketOptionErrno,
  • maybeThrowAfterRecvfrom,
  • maybeThrowAfterSendto,
  • open,
  • postRecvfrom,
  • read,
  • recvfrom,
  • sendto

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JButton (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)