C# Class Examples.KademliaRepositoryExamples

Example Module for kademlia-specific repository.
ファイルを表示 Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method 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

Method 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 method

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

DeleteExample() public static method

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

RefreshExample() public static method

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

RunExamples() public static method

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

SearchExample() public static method

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

StoreExample() public static method

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