io.quartz.netio.IOURingChannel
See theIOURingChannel companion object
class IOURingChannel(val ring: IoUringEntry, val ch1: IoUringSocket, var timeOutMs: Long) extends IOChannel
Members list
Value members
Concrete methods
def effectAsyncChannelIO(ring: IoUringEntry, ch: IoUringSocket)(op: (ring: IoUringEntry, ch: IoUringSocket) => (ByteBuffer => Unit) => IO[Any]): IO[ByteBuffer]
Writes the complete contents of a ByteBuffer to the channel Will continue writing until the entire buffer is written or an error occurs
Writes the complete contents of a ByteBuffer to the channel Will continue writing until the entire buffer is written or an error occurs
Value parameters
- buffer
-
The ByteBuffer containing data to write
Attributes
- Returns
-
IO[Int] number of bytes written
Writes data from a ByteBuffer to the channel, handling partial writes
Writes data from a ByteBuffer to the channel, handling partial writes
Value parameters
- buffer
-
The ByteBuffer containing data to write
Attributes
- Returns
-
IO[ByteBuffer] containing the buffer after the write attempt, may have remaining data if write was partial
Inherited methods
Attributes
- Inherited from:
- IOChannel
In this article