C# Class Kademlia.Contact

显示文件 Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method Description
Contact ( ID id, Uri endpoint ) : System

Make a contact for a node with the given ID at the given location.

ToString ( ) : string

Method used to obtain a string representation of the class

Method Details

Contact() public method

Make a contact for a node with the given ID at the given location.
public Contact ( ID id, Uri endpoint ) : System
id ID The identificator of the node
endpoint System.Uri The address of the node
return System

ToString() public method

Method used to obtain a string representation of the class
public ToString ( ) : string
return string