|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Find successor result
Field Summary | |
---|---|
Naanou.Common.BasicAddress |
Address
Address of successor |
System.Exception |
Exception
Exception that occured, if any |
int |
HopCount
Hops taken to locate |
Naanou.Common.BasicAddress[] |
Hops
Hops |
Naanou.Common.Hash | key |
string |
keySerial
Key sought |
string | requestSerial |
Constructor Summary | |
---|---|
FindSuccessorResult(System.Exception exception) Ctor |
|
FindSuccessorResult(Naanou.Common.Hash key, string serial) Constuctor |
Property Summary | |
---|---|
bool |
IsEmpty
Is the result empty? |
Naanou.Common.Hash |
Key
Gets or sets the key |
string |
RequestSerial
Gets the request serial |
Method Summary | |
---|---|
void |
AddHop(Naanou.Common.BasicAddress address) Adds hop to the route taken by command |
void |
Merge(Naanou.Common.FindSuccessorResult result) Merge another successor result into this one (append) |
void |
SetRequestSerial(string serial) Sets the request serial. Can only be set once |
Methods inherited from class System.ValueType |
---|
Equals, GetHashCode, ToString |
Methods inherited from class System.Object |
---|
Finalize, GetType, MemberwiseClone |
Field Detail |
---|
public Naanou.Common.BasicAddress Address
Address of successor
public System.Exception Exception
Exception that occured, if any
public int HopCount
Hops taken to locate
public Naanou.Common.BasicAddress[] Hops
Hops
private Naanou.Common.Hash key
private string keySerial
Key sought
private string requestSerial
Constructor Detail |
---|
public FindSuccessorResult(System.Exception exception)
Ctor
Parameters:
exception
- Exception encountered, if anypublic FindSuccessorResult(Naanou.Common.Hash key, string serial)
Constuctor
Parameters:
key
- Keyserial
- Serial of requestProperty Detail |
---|
public bool IsEmpty
Is the result empty?
public Naanou.Common.Hash Key
Gets or sets the key
public string RequestSerial
Gets the request serial
Method Detail |
---|
public void AddHop(Naanou.Common.BasicAddress address)
Adds hop to the route taken by command
Parameters:
address
- public void Merge(Naanou.Common.FindSuccessorResult result)
Merge another successor result into this one (append)
Parameters:
result
- Resultpublic void SetRequestSerial(string serial)
Sets the request serial. Can only be set once
Parameters:
serial
- SerialSystem.InvalidOperationException
- Serial is already set
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |