C# Class Fan.Sys.Future

Future is used to manage the entire lifecycle of each message send to an Actor. An actor's queue is a linked list of messages.
Inheritance: FanObj
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
cancel ( ) : void
get ( ) : object
get ( Duration timeout ) : object
isCancelled ( ) : bool
isDone ( ) : bool

Private Methods

Method Description
Future ( object msg ) : System.Collections
err ( Err e ) : void
sendWhenDone ( Actor a, Future f ) : void
sendWhenDone ( ArrayList list ) : void
set ( object r ) : void

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

cancel() public method

public cancel ( ) : void
return void

get() public method

public get ( ) : object
return object

get() public method

public get ( Duration timeout ) : object
timeout Duration
return object

isCancelled() public method

public isCancelled ( ) : bool
return bool

isDone() public method

public isDone ( ) : bool
return bool