congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IoBridge.maybeThrowAfterRecvfrom
Code IndexAdd Tabnine to your IDE (free)

How to use
maybeThrowAfterRecvfrom
method
in
libcore.io.IoBridge

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

origin: robovm/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: robovm/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: MobiVM/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: MobiVM/robovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.mobidevelop.robovm/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: ibinti/bugvm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.gluonhq/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: FlexoVM/flexovm

public static int recvfrom(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, buffer, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.bugvm/bugvm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: com.gluonhq/robovm-rt

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
origin: FlexoVM/flexovm

public static int recvfrom(boolean isRead, FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean isConnected) throws IOException {
  int result;
  try {
    InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null;
    result = Libcore.os.recvfrom(fd, bytes, byteOffset, byteCount, flags, srcAddress);
    result = postRecvfrom(isRead, packet, isConnected, srcAddress, result);
  } catch (ErrnoException errnoException) {
    result = maybeThrowAfterRecvfrom(isRead, isConnected, errnoException);
  }
  return result;
}
libcore.ioIoBridgemaybeThrowAfterRecvfrom

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,
  • isConnected,
  • maybeThrowAfterSendto,
  • open,
  • postRecvfrom,
  • read,
  • recvfrom,
  • sendto

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • startActivity (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now