C# Class Netronics.Ant.Ant.Kernel

Afficher le fichier Open project: shlee322/Netronics Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetConfig ( ) : AntConfig
Kernel ( AntConfig config ) : System
LoadAssembly ( ) : void
LoadQueenIPEndPoint ( ) : void
StartAnt ( ) : void

Method Details

AddTask() public méthode

public AddTask ( int index, Func task ) : void
index int
task Func
Résultat void

ApproveJoinAnt() public méthode

public ApproveJoinAnt ( int id, IEnumerable network ) : void
id int
network IEnumerable
Résultat void

GetAnts() public méthode

public GetAnts ( string name ) : Ants
name string
Résultat Ants

GetKernel() public static méthode

public static GetKernel ( ) : Kernel
Résultat Kernel

GetLocalAnt() public méthode

public GetLocalAnt ( ) : IAnt
Résultat IAnt

GetQueenIPEndPoint() public méthode

public GetQueenIPEndPoint ( ) : IPEndPoint
Résultat System.Net.IPEndPoint

GetTask() public méthode

public GetTask ( int index ) : IEnumerator>.Func
index int
Résultat IEnumerator>.Func

HelloAnt() public méthode

public HelloAnt ( IChannel channel, int antsId, int id ) : void
channel IChannel
antsId int
id int
Résultat void

Init() public static méthode

public static Init ( AntConfig config ) : void
config AntConfig
Résultat void

InitAnts() public méthode

public InitAnts ( IList list ) : void
list IList
Résultat void

QueenConnected() public méthode

public QueenConnected ( IChannel channel ) : void
channel IChannel
Résultat void