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