C# 클래스 Examples.KademliaRepositoryExamples

Example Module for kademlia-specific repository.
파일 보기 프로젝트 열기: zencoders/sambatyon 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CleanTagExample() 공개 정적인 메소드

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

DeleteExample() 공개 정적인 메소드

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

RefreshExample() 공개 정적인 메소드

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

RunExamples() 공개 정적인 메소드

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

SearchExample() 공개 정적인 메소드

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

StoreExample() 공개 정적인 메소드

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