|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--viceroy.net.InboundRelativeMessage
An 'inbound relative' message. Represents a message that contains all the data that is relevant for a message that inbounds a relative for a certain peer.
| Field Summary | |
private ViceroyPeer |
inbound
this is my inbound connection: inbound chose me as its relative |
private Relative |
typeOfRelative
the type of relative |
| Constructor Summary | |
InboundRelativeMessage(ViceroyPeer _inbound,
Relative _typeOfRelative)
creates a new inbound relative message |
|
| Method Summary | |
ViceroyPeer |
getInbound()
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 inbound
private Relative typeOfRelative
| Constructor Detail |
public InboundRelativeMessage(ViceroyPeer _inbound,
Relative _typeOfRelative)
_inbound - the peer that chose me as its relative_typeOfRelative - the type of relative searchedviceroy.Relative.LEFT_CHILD,
viceroy.Relative.RIGHT_CHILD,
viceroy.Relative.PARENT| Method Detail |
public ViceroyPeer getInbound()
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 | |||||||||