dist1.acb.common.transport.concretePackets
Class ResponsePeersLocation

java.lang.Object
  extended bydist1.acb.common.transport.Packet
      extended bydist1.acb.common.transport.Response
          extended bydist1.acb.common.transport.concretePackets.ResponsePeersLocation
All Implemented Interfaces:
java.io.Serializable

public class ResponsePeersLocation
extends Response

Response that contains which peers are alive, and contains their

Author:
Lazar Adzigogov
See Also:
Serialized Form

Nested Class Summary
 class ResponsePeersLocation.PeerInfo
           
 
Constructor Summary
ResponsePeersLocation(Request request)
          Creates a new instance of ResponsePeersLocation
 
Method Summary
 void addPeerInfo(java.lang.String owner, java.lang.String ip, int port)
           
 java.util.LinkedList getPeersInfo()
          Getter for property peersInfo.
 void setPeersInfo(java.util.LinkedList peersInfo)
          Setter for property peersInfo.
 
Methods inherited from class dist1.acb.common.transport.Packet
equals, getId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponsePeersLocation

public ResponsePeersLocation(Request request)
Creates a new instance of ResponsePeersLocation

Method Detail

addPeerInfo

public void addPeerInfo(java.lang.String owner,
                        java.lang.String ip,
                        int port)

getPeersInfo

public java.util.LinkedList getPeersInfo()
Getter for property peersInfo.

Returns:
Value of property peersInfo.

setPeersInfo

public void setPeersInfo(java.util.LinkedList peersInfo)
Setter for property peersInfo.

Parameters:
peersInfo - New value of property peersInfo.


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.