/*
- * jSite2 - Peer.java -
- * Copyright © 2008 David Roden
+ * jFCPlib - Peer.java - Copyright © 2008 David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
/**
+ * Returns whether this peer is a seed.
+ *
+ * @return <code>true</code> if the peer is a seed, <code>false</code>
+ * otherwise
+ */
+ public boolean isSeed() {
+ return Boolean.valueOf(getField("seed"));
+ }
+
+ /**
* Returns the “y” part of the peer’s public DSA key.
*
* @return The public DSA key