IOURingChannel

io.quartz.netio.IOURingChannel
See theIOURingChannel companion object
class IOURingChannel(val ring: IoUringEntry, val ch1: IoUringSocket, var timeOutMs: Long) extends IOChannel

Attributes

Companion
object
Graph
Supertypes
trait IOChannel
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def close(): IO[Unit]
def closeAsync(): IO[Unit]
def effectAsyncChannelIO(ring: IoUringEntry, ch: IoUringSocket)(op: (ring: IoUringEntry, ch: IoUringSocket) => (ByteBuffer => Unit) => IO[Any]): IO[ByteBuffer]
def put(bb: ByteBuffer): IO[Unit]
def read(timeOutMs: Int): IO[Chunk[Byte]]
def readBuffer(dst: ByteBuffer, timeOut: Int): IO[Int]
def remoteAddress(): IO[SocketAddress]
def secure(): Boolean
def toDirectBuffer(buffer: ByteBuffer): ByteBuffer
def write(buffer: ByteBuffer): IO[Int]

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

def writeBuf(buffer: ByteBuffer): IO[ByteBuffer]

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

def sniServerNames(): Option[Array[String]]

Attributes

Inherited from:
IOChannel

Concrete fields

val ch1: IoUringSocket
var f_putBack: ByteBuffer
val lock: ReentrantLock
var timeOutMs: Long