|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.wire.messaging.socket.SocketMessage
rice.pastry.wire.messaging.socket.SocketCommandMessage
rice.pastry.wire.messaging.socket.HelloMessage
Class which represents a greeting in the socket-based pastry protocol. It contains the InetSocketAddress and nodeId of the socket-initiating node.
Constructor Summary | |
HelloMessage(WirePastryNode pn,
NodeId dest)
Constructor |
Method Summary | |
java.net.InetSocketAddress |
getAddress()
Returns the address of the source of this message. |
NodeId |
getDestination()
Returns the NodeId of the source |
NodeId |
getNodeId()
Returns the NodeId of the source |
HelloResponseMessage |
getResponse(WirePastryNode pn)
Returns the appropriate response for this HelloMessage |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HelloMessage(WirePastryNode pn, NodeId dest)
pn
- DESCRIBE THE PARAMETERdest
- DESCRIBE THE PARAMETERMethod Detail |
public java.net.InetSocketAddress getAddress()
public NodeId getNodeId()
public NodeId getDestination()
public HelloResponseMessage getResponse(WirePastryNode pn)
pn
- The local pastry node
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |