LibUv

scalauv.LibUv
object LibUv

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LibUv.type

Members list

Type members

Types

type AllocCallback = CFuncPtr3[Handle, CSize, Buffer, Unit]
type AsyncCallback = CFuncPtr1[AsyncHandle, Unit]
type Barrier = Ptr[Byte]
type CloseCallback = CFuncPtr1[Handle, Unit]
type Condition = Ptr[Byte]
type ConnectCallback = CFuncPtr2[ConnectReq, CInt, Unit]
type ConnectReq = Req
type ConnectionCallback = CFuncPtr2[StreamHandle, ErrorCode, Unit]
type ErrorCode = CInt
type FileHandle = CInt
type FileReq = Req
type FsCallback = CFuncPtr1[Req, Unit]
type Handle = Ptr[Byte]
type HandleType = CInt
type Loop = Ptr[Byte]
type Mutex = Ptr[Byte]
type OnceOnly = Ptr[Byte]
type ReadWriteLock = Ptr[Byte]
type Req = Ptr[Byte]
type RequestType = CInt
type RunMode = CInt
type Semaphore = Ptr[Byte]
type ShutdownCallback = CFuncPtr2[Req, CInt, Unit]
type ShutdownReq = Req
type SocketHandle = CInt
type StreamHandle = Ptr[Byte]
type StreamReadCallback = CFuncPtr3[StreamHandle, CSSize, Buffer, Unit]
type StreamWriteCallback = CFuncPtr2[WriteReq, CInt, Unit]
type TcpHandle = Handle
type Thread = Ptr[Byte]
type ThreadCallback = CFuncPtr1[Thread, Unit]
type ThreadLocalKey = Ptr[Byte]
type TimerCallback = CFuncPtr1[TimerHandle, Unit]
type WriteReq = Req

Value members

Concrete methods

def uv_accept(server: StreamHandle, client: StreamHandle): ErrorCode
def uv_async_init(loop: Loop, handle: AsyncHandle, callback: AsyncCallback): ErrorCode
def uv_close(handle: Handle, callback: CloseCallback): Unit
def uv_err_name_r(err: CInt, buf: CString, buflen: CSize): CString
def uv_fs_access(loop: Loop, req: FileReq, path: CString, mode: CInt, cb: FsCallback): CInt
def uv_fs_close(loop: Loop, req: FileReq, file: FileHandle, callback: FsCallback): ErrorCode
def uv_fs_open(loop: Loop, req: FileReq, path: CString, flags: CInt, mode: CInt, callback: FsCallback): FileHandle
def uv_fs_read(loop: Loop, req: FileReq, file: FileHandle, bufs: Buffer, numberOfBufs: CUnsignedInt, offset: Long, cb: FsCallback): CInt
def uv_fs_req_cleanup(req: FileReq): Unit
def uv_fs_write(loop: Loop, req: FileReq, file: FileHandle, bufs: Buffer, numberOfBufs: CUnsignedInt, offset: Long, cb: FsCallback): CInt
def uv_handle_get_data(handle: Handle): Ptr[Byte]
def uv_handle_set_data(handle: Handle, data: Ptr[Byte]): Unit
def uv_handle_size(handle_type: HandleType): CSize
def uv_handle_type_name(handleType: HandleType): CString
def uv_has_ref(handle: Handle): CInt
def uv_ip4_addr(ip: CString, port: CInt, addr: SocketAddressIp4): ErrorCode
def uv_ip4_name(src: Ptr[SocketAddressIp4], dst: CString, size: CSize): ErrorCode
def uv_ip6_addr(ip: CString, port: CInt, addr: SocketAddressIp6): ErrorCode
def uv_ip6_name(src: Ptr[SocketAddressIp6], dst: CString, size: CSize): ErrorCode
def uv_is_active(handle: Handle): CInt
def uv_is_closing(handle: Handle): CInt
def uv_is_readable(handle: StreamHandle): CInt
def uv_is_writable(handle: StreamHandle): CInt
def uv_listen(stream: StreamHandle, backlog: CInt, cb: ConnectionCallback): ErrorCode
def uv_loop_size(): CSize
def uv_mutex_destroy(mutex: Mutex): Unit
def uv_mutex_lock(mutex: Mutex): Unit
def uv_mutex_unlock(mutex: Mutex): Unit
def uv_pipe(fileHandles: Ptr[FileHandle], readFlags: CInt, writeFlags: CInt): ErrorCode
def uv_pipe_bind(handle: PipeHandle, name: CString): ErrorCode
def uv_pipe_bind2(handle: PipeHandle, name: CString, nameLength: CSize, flags: CUnsignedInt): ErrorCode
def uv_pipe_chmod(handle: PipeHandle, flags: CInt): ErrorCode
def uv_pipe_connect(req: ConnectReq, handle: PipeHandle, name: CString, cb: ConnectCallback): Unit
def uv_pipe_connect2(req: ConnectReq, handle: PipeHandle, name: CString, nameLength: CSize, flags: CUnsignedInt, cb: ConnectCallback): Unit
def uv_pipe_getpeername(handle: PipeHandle, buffer: CString, nameLength: Ptr[CSize]): ErrorCode
def uv_pipe_getsockname(handle: PipeHandle, buffer: CString, nameLength: Ptr[CSize]): ErrorCode
def uv_pipe_init(loop: Loop, handle: PipeHandle, ipc: CInt): ErrorCode
def uv_pipe_pending_count(handle: PipeHandle): CSize
def uv_pipe_pending_instances(handle: PipeHandle, count: CInt): Unit
def uv_ref(handle: Handle): Unit
def uv_req_get_data(req: Req): Ptr[Byte]
def uv_req_set_data(req: Req, data: Ptr[Byte]): Unit
def uv_req_size(req_type: RequestType): CSize
def uv_req_type_name(reqType: RequestType): CString
def uv_run(loop: Loop, runMode: RunMode): ErrorCode
def uv_socketpair(socketType: CInt, protocol: CInt, socketVector: Ptr[CArray[SocketHandle, _2]], flags0: CInt, flags1: CInt): ErrorCode
def uv_stream_set_blocking(handle: StreamHandle, blocking: CInt): CInt
def uv_strerror_r(err: CInt, buf: CString, buflen: CSize): CString
def uv_tcp_bind(handle: TcpHandle, addr: SocketAddressIp4, flags: CUnsignedInt): ErrorCode
def uv_tcp_getpeername(handle: TcpHandle, name: SocketAddressIp4, namelen: Ptr[CInt]): ErrorCode
def uv_tcp_getsockname(handle: TcpHandle, name: SocketAddressIp4, namelen: Ptr[CInt]): ErrorCode
def uv_tcp_init(loop: Loop, handle: TcpHandle): ErrorCode
def uv_tcp_init_ex(loop: Loop, handle: TcpHandle, flags: CUnsignedInt): ErrorCode
def uv_tcp_keepalive(handle: TcpHandle, enable: CInt, delay: CUnsignedInt): ErrorCode
def uv_tcp_no_delay(handle: TcpHandle, enable: CInt): ErrorCode
def uv_tcp_open(handle: TcpHandle, sock: CInt): ErrorCode
def uv_tcp_simultaneous_accepts(handle: TcpHandle, enable: CInt): ErrorCode
def uv_timer_init(loop: Loop, handle: TimerHandle): ErrorCode
def uv_timer_start(handle: TimerHandle, callback: TimerCallback, timeoutMillis: CUnsignedLong, repeatMillis: CUnsignedLong): ErrorCode
def uv_translate_sys_error(sys_errno: CInt): CInt
def uv_try_write(handle: StreamHandle, bufs: Buffer, numberOfBufs: CUnsignedInt): CInt
def uv_try_write2(handle: StreamHandle, bufs: Buffer, numberOfBufs: CUnsignedInt, sendHandle: StreamHandle): CInt
def uv_unref(handle: Handle): Unit
def uv_write(req: WriteReq, handle: StreamHandle, bufs: Buffer, numberOfBufs: CUnsignedInt, cb: StreamWriteCallback): ErrorCode
def uv_write2(req: WriteReq, handle: StreamHandle, bufs: Buffer, numberOfBufs: CUnsignedInt, sendHandle: StreamHandle, cb: StreamWriteCallback): ErrorCode