|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--viceroy.net.FindRelativeMessage
A 'find relative' message. Represents a message that contains all the data that is relevant for a message that finds a relative for a certain peer.
| Field Summary | |
private ViceroyPeer |
searcher
The peer which seek for a relative |
private Relative |
typeOfRelative
The type of the relative which is searched |
| Constructor Summary | |
FindRelativeMessage(ViceroyPeer _searcher,
Relative _typeOfRelative)
creates a new find relative message |
|
| Method Summary | |
ViceroyPeer |
getSearcher()
gets the searcher |
MessageType |
getType()
gets the type of the message |
Relative |
getTypeOfRelative()
gets the searcher |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private ViceroyPeer searcher
private Relative typeOfRelative
| Constructor Detail |
public FindRelativeMessage(ViceroyPeer _searcher,
Relative _typeOfRelative)
_searcher - the peer that initiated this search_typeOfRelative - the type of relative searchedviceroy.Relative.LEFT_CHILD,
viceroy.Relative.RIGHT_CHILD,
viceroy.Relative.PARENT| Method Detail |
public ViceroyPeer getSearcher()
public Relative getTypeOfRelative()
public MessageType getType()
getType in interface MessageMessageType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||