Package zmq

Class Utils

java.lang.Object
zmq.Utils

@Deprecated public class Utils extends Object
Deprecated.
  • Constructor Details

    • Utils

      private Utils()
      Deprecated.
  • Method Details

    • randomInt

      public static int randomInt()
      Deprecated.
    • randomBytes

      public static byte[] randomBytes(int length)
      Deprecated.
    • findOpenPort

      public static int findOpenPort() throws IOException
      Deprecated.
      Throws:
      IOException
    • unblockSocket

      public static void unblockSocket(SelectableChannel... channels) throws IOException
      Deprecated.
      Throws:
      IOException
    • realloc

      public static <T> T[] realloc(Class<T> klass, T[] src, int size, boolean ended)
      Deprecated.
    • bytes

      public static byte[] bytes(ByteBuffer buf)
      Deprecated.
    • realloc

      public static byte[] realloc(byte[] src, int size)
      Deprecated.
    • delete

      public static boolean delete(File path)
      Deprecated.
    • getPeerIpAddress

      public static Address getPeerIpAddress(SocketChannel fd)
      Deprecated.