diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/Peer.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/Peer.java b/src/common/Peer.java index 2ba0d83..9fe4560 100644 --- a/src/common/Peer.java +++ b/src/common/Peer.java @@ -353,6 +353,13 @@ public class Peer extends Observable { public int getPeerSize() {
return peers.size();
}
+
+ /**
+ * Get the PeerInformation.
+ */
+ public PeerInformation getPeerInformation() {
+ return this.myInfo;
+ }
/**
* A method that sends a CollidableObject to all
|