C# Class Examples.KademliaRepositoryExamples

Example Module for kademlia-specific repository.
Afficher le fichier Open project: zencoders/sambatyon Class Usage Examples

Méthodes publiques

Méthode Description
CleanTagExample ( ) : void

This example shows how the repository discard semanticless words.

DeleteExample ( ) : void

This example uses the DeleteTag method to delete a tag from the repository

RefreshExample ( ) : void

This example shows how to refreash a resource inside the repository.

RunExamples ( ) : void

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.

SearchExample ( ) : void

This example show how to perform research inside the repository

StoreExample ( ) : void

This example uses the Store method to insert a new resource in the repository

Private Methods

Méthode Description
ExpireExample ( ) : void

This test the Expire method of the repository

GetAllExample ( ) : void

This example use the GetAll method to show all object contained in the repository

MiscGetAndContainsExample ( ) : void

This example run ContainsTag, ContainsUrl and GetPublicationTime methods of the repository

PutExample ( ) : void

This example shows how to use the Put operation to insert new Dht element into an existing Resource

Method Details

CleanTagExample() public static méthode

This example shows how the repository discard semanticless words.
public static CleanTagExample ( ) : void
Résultat void

DeleteExample() public static méthode

This example uses the DeleteTag method to delete a tag from the repository
public static DeleteExample ( ) : void
Résultat void

RefreshExample() public static méthode

This example shows how to refreash a resource inside the repository.
public static RefreshExample ( ) : void
Résultat void

RunExamples() public static méthode

Access method that will be executed by ProgrammingExamples and runs all the example method of the set.
public static RunExamples ( ) : void
Résultat void

SearchExample() public static méthode

This example show how to perform research inside the repository
public static SearchExample ( ) : void
Résultat void

StoreExample() public static méthode

This example uses the Store method to insert a new resource in the repository
public static StoreExample ( ) : void
Résultat void