Package org.openziti.net.nio
Class NetUtilsKt
-
- All Implemented Interfaces:
public final class NetUtilsKt
-
-
Method Summary
Modifier and Type Method Description final static AsynchronousSocketChannelacceptSuspend(AsynchronousServerSocketChannel $self)final static IntegerreadSuspend(AsynchronousByteChannel $self, ByteBuffer b)final static IntegerreadSuspend(AsynchronousSocketChannel $self, ByteBuffer b, Long timeout, TimeUnit unit)final static UnitconnectSuspend(AsynchronousSocketChannel $self, SocketAddress addr)final static UnitconnectSuspend(AsynchronousSocketChannel $self, SocketAddress addr, Long timeout)final static IntegerwriteSuspend(AsynchronousByteChannel $self, ByteBuffer b)final static IntegerwriteCompletely(AsynchronousByteChannel $self, ByteBuffer b)-
-
Method Detail
-
acceptSuspend
final static AsynchronousSocketChannel acceptSuspend(AsynchronousServerSocketChannel $self)
-
readSuspend
final static Integer readSuspend(AsynchronousByteChannel $self, ByteBuffer b)
-
readSuspend
final static Integer readSuspend(AsynchronousSocketChannel $self, ByteBuffer b, Long timeout, TimeUnit unit)
-
connectSuspend
final static Unit connectSuspend(AsynchronousSocketChannel $self, SocketAddress addr)
-
connectSuspend
final static Unit connectSuspend(AsynchronousSocketChannel $self, SocketAddress addr, Long timeout)
-
writeSuspend
final static Integer writeSuspend(AsynchronousByteChannel $self, ByteBuffer b)
-
writeCompletely
final static Integer writeCompletely(AsynchronousByteChannel $self, ByteBuffer b)
-
-
-
-