C# Class LibuvSharp.Loop

Inheritance: IDisposable
显示文件 Open project: txdv/LibuvSharp Class Usage Examples

Private Properties

Property Type Description
CreateLoop System.IntPtr
Loop System
RunGuard bool
RunGuard bool
WalkCallback void
uv_default_loop System.IntPtr
uv_loop_alive int
uv_loop_close int
uv_loop_init int
uv_loop_size System.IntPtr
uv_now ulong
uv_run void
uv_stop void
uv_update_time void
uv_walk void

Public Methods

Method Description
Dispose ( ) : void
GetHandle ( IntPtr ptr ) : LibuvSharp.Handle
Loop ( ) : System
Loop ( ByteBufferAllocatorBase allocator ) : System
Ref ( ) : void
Run ( ) : bool
Run ( System.Action context ) : bool
Run ( Func asyncMethod ) : bool
RunAsync ( ) : bool
RunAsync ( System.Action context ) : bool
RunOnce ( ) : bool
RunOnce ( System.Action context ) : bool
Stop ( ) : void
Sync ( System.Action cb ) : void
Sync ( System callbacks ) : void
Unref ( ) : void
UpdateTime ( ) : void
Walk ( Action callback ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CreateLoop ( ) : IntPtr
Loop ( IntPtr handle, ByteBufferAllocatorBase allocator ) : System
RunGuard ( System.Action action ) : bool
RunGuard ( System.Action context, Func func ) : bool
WalkCallback ( IntPtr handle, IntPtr arg ) : void
uv_default_loop ( ) : IntPtr
uv_loop_alive ( IntPtr loop ) : int
uv_loop_close ( IntPtr ptr ) : int
uv_loop_init ( IntPtr handle ) : int
uv_loop_size ( ) : IntPtr
uv_now ( IntPtr loop ) : ulong
uv_run ( IntPtr loop, uv_run_mode mode ) : void
uv_stop ( IntPtr loop ) : void
uv_update_time ( IntPtr loop ) : void
uv_walk ( IntPtr loop, walk_cb cb, IntPtr arg ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetHandle() public method

public GetHandle ( IntPtr ptr ) : LibuvSharp.Handle
ptr System.IntPtr
return LibuvSharp.Handle

Loop() public method

public Loop ( ) : System
return System

Loop() public method

public Loop ( ByteBufferAllocatorBase allocator ) : System
allocator ByteBufferAllocatorBase
return System

Ref() public method

public Ref ( ) : void
return void

Run() public method

public Run ( ) : bool
return bool

Run() public method

public Run ( System.Action context ) : bool
context System.Action
return bool

Run() public method

public Run ( Func asyncMethod ) : bool
asyncMethod Func
return bool

RunAsync() public method

public RunAsync ( ) : bool
return bool

RunAsync() public method

public RunAsync ( System.Action context ) : bool
context System.Action
return bool

RunOnce() public method

public RunOnce ( ) : bool
return bool

RunOnce() public method

public RunOnce ( System.Action context ) : bool
context System.Action
return bool

Stop() public method

public Stop ( ) : void
return void

Sync() public method

public Sync ( System.Action cb ) : void
cb System.Action
return void

Sync() public method

public Sync ( System callbacks ) : void
callbacks System
return void

Unref() public method

public Unref ( ) : void
return void

UpdateTime() public method

public UpdateTime ( ) : void
return void

Walk() public method

public Walk ( Action callback ) : void
callback Action
return void