|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--viceroy.net.LookupMessage
A lookup message. represents a lookup requset that was sent by some peer
| Field Summary | |
private LookupPeer |
address
the return address |
private LookupAlgorithm |
method
the lookup method - which lookup algorithm to use |
private Resource |
value
the value to lookup |
| Constructor Summary | |
LookupMessage(Resource valueToLook,
LookupPeer returnAddress,
LookupAlgorithm _method)
generates the first lookup message in the path. |
|
| Method Summary | |
LookupAlgorithm |
getLookupAlgorithm()
gets the lookup method - which lookup algorithm to use |
LookupPeer |
getReturnAddress()
gets the viceroy peer that the answer message should be sent to |
MessageType |
getType()
gets the type of the message |
Resource |
getValueToLook()
gets the value that was looked up |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Resource value
private LookupPeer address
private LookupAlgorithm method
| Constructor Detail |
public LookupMessage(Resource valueToLook,
LookupPeer returnAddress,
LookupAlgorithm _method)
valueToLook - the value to look forreturnAddress - the peer that looked this value up| Method Detail |
public Resource getValueToLook()
public LookupPeer getReturnAddress()
public MessageType getType()
getType in interface MessageMessageTypepublic LookupAlgorithm getLookupAlgorithm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||