|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.wire.PendingWrite
Wrapper class which contains an object to write and the address it needs to be written to.
Constructor Summary | |
PendingWrite(rice.pastry.NodeId destination,
java.net.InetSocketAddress address,
java.lang.Object o)
Contructs a PendingWrite from an address and an object |
Method Summary | |
java.net.InetSocketAddress |
getAddress()
Returns the destination address of this write |
rice.pastry.NodeId |
getDestination()
Returns the destination address of this write |
java.lang.Object |
getObject()
Returns the object to be written |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PendingWrite(rice.pastry.NodeId destination, java.net.InetSocketAddress address, java.lang.Object o)
address
- The destination address of this objecto
- The object to be written.Method Detail |
public rice.pastry.NodeId getDestination()
public java.net.InetSocketAddress getAddress()
public java.lang.Object getObject()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |