dist1.acb.common.transport.concretePackets
Class ResponsePeersLocation
java.lang.Object
dist1.acb.common.transport.Packet
dist1.acb.common.transport.Response
dist1.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
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResponsePeersLocation
public ResponsePeersLocation(Request request)
- Creates a new instance of ResponsePeersLocation
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.