/[storm]/storm/org/nongnu/storm/modules/gispmap/GispPeer.java
ViewVC logotype

Diff of /storm/org/nongnu/storm/modules/gispmap/GispPeer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by benja, Fri May 9 15:52:47 2003 UTC revision 1.8 by tuukkah, Tue May 13 12:36:02 2003 UTC
# Line 87  public class GispPeer extends Peer { Line 87  public class GispPeer extends Peer {
87          GispPeer peer = null;          GispPeer peer = null;
88          while(peer == null) {          while(peer == null) {
89              try {              try {
90                  peer = new GispPeer(publishedPool,                  if(publishedPool == null && gateway_port < 0) {
91                                      new TransientPool(indexTypes),                      new GispP2PMap(gisp_port, seeds);
92                                      gisp_port, seeds);                      p("");
93                        p("No pools to publish and no gateway requested.");
94                        p("Plain GISP P2P map started instead of a full peer.");
95                        p("");
96                        break; // Leaving peer null!
97                    } else {
98                        peer = new GispPeer(publishedPool,
99                                            new TransientPool(indexTypes),
100                                            gisp_port, seeds);
101                    }
102              } catch(java.net.BindException _) {              } catch(java.net.BindException _) {
103                  p("Port "+gisp_port+" couldn't be used.");                  p("Port "+gisp_port+" couldn't be used.");
104                  gisp_port++;                  gisp_port++;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26