C# Class Brunet.Symphony.AHAddress

Inheritance: StructuredAddress
Mostra file Open project: pstjuste/brunet Class Usage Examples

Public Properties

Property Type Description
_class int

Protected Properties

Property Type Description
_prefix uint

Public Methods

Method Description
AHAddress ( BigInteger big_int ) : System
AHAddress ( MemBlock mb ) : System
AHAddress ( RandomNumberGenerator rng ) : System
AHAddress ( byte b ) : System
AHAddress ( byte b, int off ) : System
CompareTo ( object o ) : int
DistanceTo ( AHAddress a ) : BigInteger
IsBetweenFromLeft ( AHAddress start, AHAddress end ) : bool
IsBetweenFromRight ( AHAddress start, AHAddress end ) : bool
IsCloserToFirst ( AHAddress first, AHAddress sec ) : bool
IsLeftOf ( AHAddress add ) : bool
IsRightOf ( AHAddress add ) : bool
LeftDistanceTo ( AHAddress addr ) : BigInteger
RightDistanceTo ( AHAddress addr ) : BigInteger

Method Details

AHAddress() public method

public AHAddress ( BigInteger big_int ) : System
big_int Brunet.Util.BigInteger
return System

AHAddress() public method

public AHAddress ( MemBlock mb ) : System
mb Brunet.Util.MemBlock
return System

AHAddress() public method

public AHAddress ( RandomNumberGenerator rng ) : System
rng System.Security.Cryptography.RandomNumberGenerator
return System

AHAddress() public method

public AHAddress ( byte b ) : System
b byte
return System

AHAddress() public method

public AHAddress ( byte b, int off ) : System
b byte
off int
return System

CompareTo() public method

public CompareTo ( object o ) : int
o object
return int

DistanceTo() public method

public DistanceTo ( AHAddress a ) : BigInteger
a AHAddress
return Brunet.Util.BigInteger

IsBetweenFromLeft() public method

public IsBetweenFromLeft ( AHAddress start, AHAddress end ) : bool
start AHAddress
end AHAddress
return bool

IsBetweenFromRight() public method

public IsBetweenFromRight ( AHAddress start, AHAddress end ) : bool
start AHAddress
end AHAddress
return bool

IsCloserToFirst() public method

public IsCloserToFirst ( AHAddress first, AHAddress sec ) : bool
first AHAddress
sec AHAddress
return bool

IsLeftOf() public method

public IsLeftOf ( AHAddress add ) : bool
add AHAddress
return bool

IsRightOf() public method

public IsRightOf ( AHAddress add ) : bool
add AHAddress
return bool

LeftDistanceTo() public method

public LeftDistanceTo ( AHAddress addr ) : BigInteger
addr AHAddress
return Brunet.Util.BigInteger

RightDistanceTo() public method

public RightDistanceTo ( AHAddress addr ) : BigInteger
addr AHAddress
return Brunet.Util.BigInteger

Property Details

_class public_oe static_oe property

public static int _class
return int

_prefix protected_oe property

protected uint _prefix
return uint