rice.pastry.wire
Class PendingWrite
- public class PendingWrite
- Wrapper class which contains an object to write and the address it needs to be written to.
- Version:
- $Id: PendingWrite.java,v 1.2 2002/09/09 01:19:48 amislove Exp $
- Author:
- Alan Mislove
PendingWrite
public PendingWrite(rice.pastry.NodeId destination,
java.net.InetSocketAddress address,
java.lang.Object o)
- Contructs a PendingWrite from an address and an object
- Parameters:
address
- The destination address of this object
o
- The object to be written.
getDestination
public rice.pastry.NodeId getDestination()
- Returns the destination address of this write
- Returns:
- The destination address of this pending write.
getAddress
public java.net.InetSocketAddress getAddress()
- Returns the destination address of this write
- Returns:
- The destination address of this pending write.
getObject
public java.lang.Object getObject()
- Returns the object to be written
- Returns:
- The object to be written