Package zmq
Class Utils
- java.lang.Object
-
- zmq.Utils
-
@Deprecated public class Utils extends java.lang.ObjectDeprecated.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUtils()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static byte[]bytes(java.nio.ByteBuffer buf)Deprecated.static booleandelete(java.io.File path)Deprecated.static intfindOpenPort()Deprecated.static AddressgetPeerIpAddress(java.nio.channels.SocketChannel fd)Deprecated.static byte[]randomBytes(int length)Deprecated.static intrandomInt()Deprecated.static byte[]realloc(byte[] src, int size)Deprecated.static <T> T[]realloc(java.lang.Class<T> klass, T[] src, int size, boolean ended)Deprecated.static voidunblockSocket(java.nio.channels.SelectableChannel... channels)Deprecated.
-
-
-
Method Detail
-
randomInt
public static int randomInt()
Deprecated.
-
randomBytes
public static byte[] randomBytes(int length)
Deprecated.
-
findOpenPort
public static int findOpenPort() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
unblockSocket
public static void unblockSocket(java.nio.channels.SelectableChannel... channels) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
realloc
public static <T> T[] realloc(java.lang.Class<T> klass, T[] src, int size, boolean ended)Deprecated.
-
bytes
public static byte[] bytes(java.nio.ByteBuffer buf)
Deprecated.
-
realloc
public static byte[] realloc(byte[] src, int size)Deprecated.
-
delete
public static boolean delete(java.io.File path)
Deprecated.
-
getPeerIpAddress
public static Address getPeerIpAddress(java.nio.channels.SocketChannel fd)
Deprecated.
-
-