C# Class Universal.Torrent.Client.MainLoop

Show file Open project: haroldma/Universal.Torrent

Public Methods

Method Description
IsInCurrentThread ( ) : bool
MainLoop ( ) : System
Queue ( MainLoopTask task ) : void
QueueTimeout ( System.TimeSpan span, TimeoutTask task ) : uint
QueueWait ( MainLoopJob task ) : object
QueueWait ( MainLoopTask task ) : void
Wrap ( AsyncCallback callback ) : AsyncCallback

Private Methods

Method Description
Loop ( ) : void
Queue ( DelegateTask task ) : void
QueueWait ( DelegateTask t ) : void

Method Details

IsInCurrentThread() public method

public IsInCurrentThread ( ) : bool
return bool

MainLoop() public method

public MainLoop ( ) : System
return System

Queue() public method

public Queue ( MainLoopTask task ) : void
task MainLoopTask
return void

QueueTimeout() public method

public QueueTimeout ( System.TimeSpan span, TimeoutTask task ) : uint
span System.TimeSpan
task TimeoutTask
return uint

QueueWait() public method

public QueueWait ( MainLoopJob task ) : object
task MainLoopJob
return object

QueueWait() public method

public QueueWait ( MainLoopTask task ) : void
task MainLoopTask
return void

Wrap() public method

public Wrap ( AsyncCallback callback ) : AsyncCallback
callback AsyncCallback
return AsyncCallback