class NestedScheduler::LibeventContext

Defined in:

nested_scheduler/libevent_context.cr

Instance Method Summary

Instance methods inherited from class NestedScheduler::IOContext

new : self new

Instance Method Detail

def accept(socket, _scheduler, timeout) #

[View source]
def close(fd, _scheduler) #

[View source]
def connect(socket, _scheduler, addr, timeout, &) #

[View source]
def new : self #

[View source]
def prepare_close(file) #

[View source]
def read(io, _scheduler, slice : Bytes) #

[View source]
def recv(socket, _scheduler, slice : Bytes, errno_message : String) #

[View source]
def recvfrom(socket, _scheduler, slice, sockaddr, addrlen, errno_message) #

[View source]
def reschedule(_scheduler, &) #

[View source]
def send(socket, _scheduler, slice : Bytes, errno_message : String) : Int32 #

[View source]
def send_to(socket, _scheduler, message, to addr : Socket::Address) : Int32 #

[View source]
def sleep(scheduler, fiber, time) : Nil #

[View source]
def socket_write(socket, _scheduler, slice : Bytes, errno_message : String) : Nil #

[View source]
def stop #

[View source]
def wait_readable(io, scheduler, timeout, &) #

[View source]
def wait_writable(io, scheduler, timeout, &) #

[View source]
def write(io, _scheduler, slice : Bytes) #

[View source]
def yield(fiber : Fiber, to other) #

[View source]