LibUV

@link("uv") @extern
object LibUV
class Object
trait Matchable
class Any
LibUV.type

Type members

Types

type AllocCB = CFuncPtr3[TCPHandle, CSize, Ptr[Buffer], Unit]
type Buffer = CStruct2[Ptr[Byte], CSize]
type CloseCB = CFuncPtr1[UVHandle, Unit]
type Connection = Ptr[Byte]
type ConnectionCB = CFuncPtr2[TCPHandle, Int, Unit]
type FSCB = CFuncPtr1[FSReq, Unit]
type FSReq = Ptr[Ptr[Byte]]
type Loop = Ptr[Byte]
type PipeHandle = Ptr[Byte]
type PollCB = CFuncPtr3[PollHandle, Integer, Integer, Unit]
type PollHandle = Ptr[Byte]
type PrepareCB = CFuncPtr1[PrepareHandle, Unit]
type PrepareHandle = Ptr[Byte]
type ReadCB = CFuncPtr3[TCPHandle, CSSize, Ptr[Buffer], Unit]
type ShutdownCB = CFuncPtr2[ShutdownReq, Int, Unit]
type ShutdownReq = Ptr[Ptr[Byte]]
type TCPHandle = Ptr[Byte]
type TTYHandle = Ptr[Byte]
type TimerCB = CFuncPtr1[TimerHandle, Unit]
type TimerHandle = Ptr[Byte]
type UVHandle = Ptr[Byte]
type WriteCB = CFuncPtr2[WriteReq, Int, Unit]
type WriteReq = Ptr[Ptr[Byte]]

Value members

Concrete methods

def uv_accept(server: PipeHandle, client: PipeHandle): Int
def uv_close(handle: PipeHandle, closeCB: CloseCB): Unit
def uv_err_name(err: Int): CString
def uv_fileno(handle: TTYHandle, fileno: Ptr[Int]): Int
def uv_fs_close(loop: Loop, req: FSReq, fd: Int, fsCB: FSCB): Int
def uv_fs_get_ptr(req: FSReq): Ptr[Byte]
def uv_fs_get_result(req: FSReq): Int
def uv_fs_open(loop: Loop, req: FSReq, path: CString, flags: Int, mode: Int, cb: FSCB): Int
def uv_fs_read(loop: Loop, req: FSReq, fd: Int, bufs: Ptr[Buffer], numBufs: Int, offset: Long, fsCB: FSCB): Int
def uv_fs_write(loop: Loop, req: FSReq, fd: Int, bufs: Ptr[Buffer], numBufs: Int, offset: Long, fsCB: FSCB): Int
def uv_guess_handle(fd: Int): Int
def uv_handle_size(h_type: Int): CSize
def uv_handle_type_name(handle: TTYHandle): Int
def uv_ip4_addr(address: CString, port: Int, out_addr: Ptr[Byte]): Int
def uv_ip4_name(address: Ptr[Byte], s: CString, size: Int): Int
def uv_is_active(handle: Ptr[Byte]): Int
def uv_is_closing(handle: PipeHandle): Int
def uv_listen(handle: PipeHandle, backlog: Int, callback: ConnectionCB): Int
def uv_loop_alive(loop: Loop): CInt
def uv_loop_close(loop: Loop): CInt
def uv_loop_size(): CSize
def uv_pipe_bind(handle: PipeHandle, socketName: CString): Int
def uv_pipe_init(loop: Loop, handle: PipeHandle, ipc: Int): Int
def uv_pipe_open(handle: PipeHandle, fd: Int): Int
def uv_poll_init(loop: Loop, handle: PollHandle, fd: Int): Int
def uv_poll_init_socket(loop: Loop, handle: PollHandle, socket: Ptr[Byte]): Int
def uv_poll_start(handle: PollHandle, events: Int, cb: PollCB): Int
def uv_poll_stop(handle: PollHandle): Int
def uv_prepare_init(loop: Loop, handle: PrepareHandle): Int
def uv_prepare_stop(handle: PrepareHandle): Unit
def uv_read_start(client: PipeHandle, allocCB: AllocCB, readCB: ReadCB): Int
def uv_read_stop(client: PipeHandle): Int
def uv_req_cleanup(req: FSReq): Unit
def uv_req_size(r_type: Int): CSize
def uv_run(loop: Loop, runMode: Int): Int
def uv_shutdown(shutdownReq: ShutdownReq, client: PipeHandle, shutdownCB: ShutdownCB): Int
def uv_strerror(err: Int): CString
def uv_tcp_bind(tcp_handle: TCPHandle, address: Ptr[Byte], flags: Int): Int
def uv_tcp_init(loop: Loop, tcp_handle: TCPHandle): Int
def uv_timer_init(loop: Loop, handle: TimerHandle): Int
def uv_timer_start(handle: TimerHandle, cb: TimerCB, timeout: Long, repeat: Long): Int
def uv_timer_stop(handle: TimerHandle): Int
def uv_tty_init(loop: Loop, handle: TTYHandle, fd: Int, readable: Int): Int
def uv_write(writeReq: WriteReq, client: PipeHandle, bufs: Ptr[Buffer], numBufs: Int, writeCB: WriteCB): Int