Changeset 2110


Ignore:
Timestamp:
2001-03-05T11:52:21+13:00 (23 years ago)
Author:
say1
Message:

now compiles cleanly

Location:
trunk/java-client/org/nzdl/gsdl/ptp
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/ptp/HTTP.java

    r2109 r2110  
    5151  String host;
    5252  int port;
    53   int file;
     53  String file;
    5454
    55   HTTP(int port, String host, String file) {
     55  HTTP(String host, int port, String file) {
    5656    this.port = port;
    5757    this.host = host;
  • trunk/java-client/org/nzdl/gsdl/ptp/Makefile

    r2109 r2110  
    1515CLASSFILES=HTTP.class \
    1616  IOR.class \
    17   P2P.class \
     17  PTP.class \
    1818  Poller.class \
    1919  Node.class \
  • trunk/java-client/org/nzdl/gsdl/ptp/Poller.java

    r2109 r2110  
    7070    while (e.hasMoreElements()) {
    7171      String next = (String) e.nextElement();
    72       if (P2P.valid(next)) {
     72      PTP ptp = (PTP) Locator.parse(next);
    7373    System.err.println("About to create new thread for " + next);
    7474    Connection connection =
    75       new Connection(P2P.toHost(next),P2P.toPort(next));
     75      new Connection(ptp.host,ptp.port);
    7676    System.err.println("About to start new thread");
    7777    connection.run();
     
    8484    }
    8585    System.err.println("Joined with new thread");
    86       }
    87     }
     86    }   
     87   
    8888  }
    89 
    90    /**
     89 
     90  /**
    9191   * Tests...
    9292   *
Note: See TracChangeset for help on using the changeset viewer.