C# Class Netronics.Ant.Ant.Kernel

Mostra file Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
AddTask ( int index, Func task ) : void
ApproveJoinAnt ( int id, IEnumerable network ) : void
GetAnts ( string name ) : Ants
GetKernel ( ) : Kernel
GetLocalAnt ( ) : IAnt
GetQueenIPEndPoint ( ) : IPEndPoint
GetTask ( int index ) : IEnumerator>.Func
HelloAnt ( IChannel channel, int antsId, int id ) : void
Init ( AntConfig config ) : void
InitAnts ( IList list ) : void
QueenConnected ( IChannel channel ) : void

Private Methods

Method Description
GetConfig ( ) : AntConfig
Kernel ( AntConfig config ) : System
LoadAssembly ( ) : void
LoadQueenIPEndPoint ( ) : void
StartAnt ( ) : void

Method Details

AddTask() public method

public AddTask ( int index, Func task ) : void
index int
task Func
return void

ApproveJoinAnt() public method

public ApproveJoinAnt ( int id, IEnumerable network ) : void
id int
network IEnumerable
return void

GetAnts() public method

public GetAnts ( string name ) : Ants
name string
return Ants

GetKernel() public static method

public static GetKernel ( ) : Kernel
return Kernel

GetLocalAnt() public method

public GetLocalAnt ( ) : IAnt
return IAnt

GetQueenIPEndPoint() public method

public GetQueenIPEndPoint ( ) : IPEndPoint
return System.Net.IPEndPoint

GetTask() public method

public GetTask ( int index ) : IEnumerator>.Func
index int
return IEnumerator>.Func

HelloAnt() public method

public HelloAnt ( IChannel channel, int antsId, int id ) : void
channel IChannel
antsId int
id int
return void

Init() public static method

public static Init ( AntConfig config ) : void
config AntConfig
return void

InitAnts() public method

public InitAnts ( IList list ) : void
list IList
return void

QueenConnected() public method

public QueenConnected ( IChannel channel ) : void
channel IChannel
return void